Skip to content
Prev 38567 / 398500 Next

evaluating R expressions from C

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