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 <br...@nmsu.edu> wrote:

>
>
> > On Dec 6, 2019, at 3:58 PM, Qiang Kou <q...@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
>
>
_______________________________________________
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

Reply via email to