Song Baiyi
2004-Apr-19 10:23 UTC
[R] How can I get the length of returning array in c++ calling R code?
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