Skip to content
Prev 40782 / 63424 Next

Manipulating single-precision (float) arrays in .Call functions

On 18/07/2011 11:52 AM, Alireza Mahani wrote:
R has no native type holding singles.  It exports a double to a single 
vector in .C if you ask it to, but that's not available in .Call.  
You'll need to do the copying yourself.

Duncan Murdoch