[Rcpp-devel] wrapping a class having a method returning an object of class-type

2012-05-31 Thread James Simone
I have a C++ class that has a "clone" method which returns a distinct copy of the object. I want to expose the clone method in R and my question is how this is best done using Rcpp? My first attempt to expose "clone" results in a compile error since Rcpp cannot automatically handle the returne

Re: [Rcpp-devel] help packaging Rcpp modules

2012-05-08 Thread James Simone
orm(1,2) [1] 2.236068 On 05/08/2012 06:14 PM, Dirk Eddelbuettel wrote: Hi James, On 8 May 2012 at 17:51, James Simone wrote: | I have followed the Rcpp developer's recommendation that a package | greatly simplifies using RCPP_MODULE wrappering. Unfortunately, I'm | having difficulty bui

[Rcpp-devel] help packaging Rcpp modules

2012-05-08 Thread James Simone
I have followed the Rcpp developer's recommendation that a package greatly simplifies using RCPP_MODULE wrappering. Unfortunately, I'm having difficulty building and checking even a simple package containing an Rcpp module. I have read previous posts on this topic but I did not find anything helpf