Skip to content
Prev 45861 / 63424 Next

call R function from C code

You need to PROTECT the result of lang3 before calling eval.
And on the other hand, you don't necessarily have to protect
the result of eval (only if you will be doing further allocations
while still using sx).

   Radford Neal