Skip to content
Prev 49963 / 63424 Next

R-devel does not update the C++ returned variables

On 02/03/2015 8:46 AM, sarah manderni wrote:
Because of the change mentioned in the NEWS file.
Code using .Call is quite different from code using .C.  My guess would 
be that you didn't get all the details right.

I generally recommend that people use Rcpp, which hides a lot of the 
details.  It will generate your .Call calls for you, and generate the 
C++ code that receives them; you just need to think about the real 
problem, not the interface.  It has its own learning curve, but I think 
it is easier than using the low-level code that you need to work with .Call.

Duncan Murdoch