Re: [Rcpp-devel] Using an Rcpp module package in an R Reference Class

2014-10-14 Thread Christian Gunning
On Tue, Oct 14, 2014 at 9:19 AM, Dr Gregory Jefferis wrote: > >> * Rcpp: RCPP_EXPOSED_CLASS_NODECL(RaggedArray) >> * Rcpp: setRcppClass("RaggedArray") >> * roxygen2/NAMESPACE: @exportClass RaggedArray > > I'm not sure if the exact issue here, but you could look at this package > that I wrote: > >

[Rcpp-devel] Using an Rcpp module package in an R Reference Class

2014-10-14 Thread Christian Gunning
Dear all, I have a working package that uses the Rcpp module mechanism (my RaggedArray project, as per previous discussion), and a working pure-R reference class (RefClass) that does computation on a list-based ragged array. I'm unsure on how to integrate the RaggedArray module into the RefClass.