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

2015-01-14 Thread Dirk Eddelbuettel
On 14 January 2015 at 15:00, Louis Aslett wrote: | Sorry hit send prematurely | | 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 Sweet, and well done. I had meant to reply and suggest something li

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

2015-01-14 Thread Louis Aslett
Sorry hit send prematurely 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: methods:::bind_activation(on = TR

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: > I've encounte

[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