[R] C++ and R

Francisco J Molina FJMolina at lbl.gov
Tue Jul 9 22:27:20 CEST 2002


I am calling C++ from R.
I want C++ to return a vector whose length is not known when the C++
routine is called.

Is it possible to do this without using R objects in the C++ routine?

So far I have been using .C, but I do not see how I could use it in this
case.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list