[Rcpp-devel] sending 3D object to R

2016-11-14 Thread Anon User
Hi, I am trying to send a 3 dimensional object from C++ to R as an R array. I don’t know how to construct an R array in C++ using Rcpp. I am hoping to look at an example from one of the CRAN packages that use Rcpp. Can anyone recommend a package that I should look into? thanks, Hong

Re: [Rcpp-devel] Rcpp constructor validator help

2016-11-07 Thread Anon User
> On 6 November 2016 at 11:36, Anon User wrote: > | Hi, > | > | Could someone point me to documentation or provide an example on how to > use constructor validator to handle the following case: > > Could you provide a definition or reference for 'construct

[Rcpp-devel] Rcpp constructor validator help

2016-11-06 Thread Anon User
Hi, Could someone point me to documentation or provide an example on how to use constructor validator to handle the following case: class Foo; struct Bar { Bar(const Foo&, int); Bar(int, int); … };