[Rcpp-devel] Using Rcpp without R in a main() function

Josh.Bowden at csiro.au Josh.Bowden at csiro.au
Wed Nov 7 13:17:59 CET 2012


Hello Romain,

I thought linking to libR would be all that is needed.

I have installed RInside, got the example code compiled and substituted my function and it compiled and run.

Thanks a lot for the help!

Josh.


> Hello,
> 
> Rcpp is for calling C++ code from R. Why did you think you can use it
> without R ?
> 
> Have a look at RInside, which will let you embed R in a c++
> application.
> But no miracle there either, you will still need R.
> 
> Romain
> 



More information about the Rcpp-devel mailing list