[R] evaluating R expressions from C

Iryna Lobach iryna at stat.tamu.edu
Sat Oct 11 23:27:10 CEST 2003


Hello!

I've looked at R help and previous postings, but I am not sure I 
completely understand the mechanism of evaluating R expressions from C++.

They have function

SEXP eval(SEXP expr, SEXP rho),

but I can't get it to work.

Could anyone who used it give any comments on how efficient it is and, 
if possible, give example of how to use it. My main problem is that I 
don't really understand how pass the name of  R-function and it's 
parameters.

Thank you,
Iryna




More information about the R-help mailing list