Hello,
That is a bug in inline indeed. I just commited a fix in r-forge.
The fix is to obviously replace this as.character by an as.raw.
Thanks for teh report.
Romain
Le 01/02/13 10:25, Karl Forner a écrit :
Hello,
From what I understood from the documentation I found, when using the
inli
Hello,
>From what I understood from the documentation I found, when using the
inline cfunction with convention=".C",
R raw vectors should be given as unsigned char* to the C function.
But consider the following script:
library(inline)
testRaw <- cfunction(signature(raw='raw', len='integer')