Skip to content
Prev 67646 / 398506 Next

question about "R get vector from C"

Michael S wrote:
For the code above you certainly want to use .Call(), .C() and won't 
work with SEXP.
Under Windows, you can also say
   R CMD SHLIB useCall3.c
and get the corresponding useCall3.dll instead of useCall3.so. 
dyn.load() also works as expected, you just need the relevant tools / 
compiler installed.

Uwe Ligges