[Rcpp-devel] Segmentation faults

Qiang Kou qkou at qkou.info
Fri Dec 6 23:58:31 CET 2019


I suggest you check all the examples of RInside. For example,

https://github.com/eddelbuettel/rinside/blob/master/inst/examples/standard/rinside_sample16.cpp

This might meet your requirements.

Best,

Qiang Kou

On Fri, Dec 6, 2019 at 2:54 PM Brook Milligan <brook at nmsu.edu> wrote:

>
>
> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20191206/11007636/attachment.html>


More information about the Rcpp-devel mailing list