[Rcpp-devel] returning array from C
sjaffe at riskspan.com
Tue Jun 11 20:40:46 CEST 2013
On Tuesday, June 11, 2013 2:37 PM, Krzysztof Sakrejda wrote:
> > Would you know of a simple example of writing a "reference class" that looks
> > to R like a numeric vector?
> I think all the examples I've written are too complicated to be useful
> but as a simple example break it into two problems, first ignore the
> Rcpp side and write everything for a ref class which just has a vector
> as a member:
Thanks! That's exactly what I was looking for.
More information about the Rcpp-devel