C++ call R function defined in separate .R files

48 views Asked by At

I would like my C++ code to call R functions, passing data between the two. The R functions are not trivial, currently defined in separate .R files.

As far as I can tell, the examples provided with Rinside have all the R code "embedded" in the C++ code.

Is the only solution to put my R code into a package, and embed a small "stub" in the C++ code which calls my package?

0

There are 0 answers