[Rcpp-devel] returning array from C

Romain Francois romain at r-enthusiasts.com
Tue Jun 11 20:49:51 CEST 2013


Le 11 juin 2013 à 20:40, Steve Jaffe <sjaffe at riskspan.com> a écrit :

> 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.
> Steve

This will be quite a lot of work !!!


More information about the Rcpp-devel mailing list