[Rcpp-devel] Segmentation faults

Brook Milligan brook at nmsu.edu
Fri Dec 6 23:54:47 CET 2019



> On Dec 6, 2019, at 3:50 PM, Qiang Kou <qkou at qkou.info> wrote:
> 
> RInside is to call the embedded R.
> 
> What do you want to do with R/Rcpp?

I am trying to write a bridge between R and C++ and need some test cases.  I was hoping I could use Rcpp objects directly in C++, but apparently that is not possible outside of an R environment, which I presume is what RInside provides.

Is there any way to test the correctness of Rcpp-using functions without running the C++ code within R?  I am thinking not, but would like to find otherwise, as this makes testing much harder.

Cheers,
Brook



More information about the Rcpp-devel mailing list