Re: [Rcpp-devel] Rcpp modules and S3 dispatch on rbind/cbind

2015-01-14 Thread Louis Aslett
t the knitting together that the methods package does will work correctly. See the rbind.R source file in the methods package for details. Hope that helps if anyone encounters this in future, Louis On 12 January 2015 at 13:44, Louis Aslett wrote: > I've encountered a problem when trying

Re: [Rcpp-devel] Rcpp modules and S3 dispatch on rbind/cbind

2015-01-14 Thread Louis Aslett
Just for the list record I think I've figured this out. It turns out that there is an S4 approach to this now, whereby one actually sets appropriate methods for the rbind2 and cbind2 functions in the methods package and then call: On 12 January 2015 at 13:44, Louis Aslett wrote: &

[Rcpp-devel] Rcpp modules and S3 dispatch on rbind/cbind

2015-01-12 Thread Louis Aslett
I've encountered a problem when trying to perform S3 method dispatch for rbind() with an Rcpp module I've written. Obviously Rcpp modules are S4, but as per many Google-able discussions, rbind/cbind can't support S4 method dispatch due to the first argument being a dot-dot-dot one, so S3 on the fi