Hello,

Now I would like to call R code from c++ and R code return a dynamic length of integer array.

I used

length(eval(VECTOR_ELT(expression,1),R_GlobalEnv))


to return the length of result array in c++, but it did not work.


What can I do to get the length?

Thank you very much!

Baiyi Song

CEI
Dortmund Univercity

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to