You might be looking for RInside.
> Le 12 juin 2017 à 10:11, Wolf Vollprecht <w.vollpre...@gmail.com> a écrit : > > I am trying to run C++ tests from C++ directly. > It looks like I need to start the R interpreter for memory management etc. > > So far I have achieved moderate success through: > > int Rf_initEmbeddedR(int argc, char **argv) > { > Rf_initialize_R(argc, argv); > setup_Rmainloop(); > return 1; > } > > > However, the code crashes with > > Error: function 'dataptr' not provided by package 'Rcpp' > Fatal error: unable to initialize the JIT > > Is there a simpler way to initialize the R environment from C++ (through > Rcpp?). Or any other insights? > > Best, > > Wolf > _______________________________________________ > Rcpp-devel mailing list > Rcpp-devel@lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel