[Rcpp-devel] Segmentation faults
Qiang Kou
qkou at qkou.info
Sat Dec 7 00:16:43 CET 2019
The sample16 showed several things you might need in your case:
1. construct R objects and functions using Rcpp
2. call them through the embedded R and pass results back to C++
I think it is a good example, if you want to write testing cases for R/C++
bridge code.
Best,
KK
On Fri, Dec 6, 2019 at 3:08 PM Brook Milligan <brook at nmsu.edu> wrote:
>
>
> > On Dec 6, 2019, at 3:58 PM, Qiang Kou <qkou at qkou.info> wrote:
> >
> > 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.
>
> Thanks.
>
> From the examples I glean the following:
>
> - RInside::RInside(int,char*[])
> - RInside::operator[](...)
> - Several RInside::parseEval*(...) member functions
>
> Is this the entire public API?
>
> Is there any documentation on these more specific than guessing from the
> examples?
>
> Thanks for your help.
>
> Cheers,
> Brook
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20191206/69e23276/attachment.html>
More information about the Rcpp-devel
mailing list