[Rcpp-devel] Problem exposing constructor taking std::vector of user defined class to R using Rcpp-attributes and Rcpp-modules
On 22 August 2013 at 08:21, Romain Francois wrote:
| Then I can do this: | | # Reference Class of B | B_R <- setRefClass( "B_R", | fields = list(id="numeric") | ) | b1 <- new( "B_R", id = 1 ) | b2 <- new( "B_R", id = 1 ) | a <- new( A, list(b1,b2) ) Beautiful. Thanks for putting that in. Dirk
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com