Re: [Rcpp-devel] Some questions regarding internals of Rcpp objects

2011-08-06 Thread Dirk Eddelbuettel
Hi Ulrich, On 6 August 2011 at 06:40, Ulrich Bodenhofer wrote: | Dear Dirk, | | Thanks for your detailed comments! | | Regarding the first question: as I wrote, I was actually assuming that | Rcpp would not make deep copies. What we now all RcppClassic always copied deeply. That's how it was

Re: [Rcpp-devel] Some questions regarding internals of Rcpp objects

2011-08-06 Thread Romain Francois
Le 06/08/11 06:40, Ulrich Bodenhofer a écrit : Dear Dirk, Thanks for your detailed comments! Regarding the first question: as I wrote, I was actually assuming that Rcpp would not make deep copies. [...] See this variant: R> fun<- cxxfunction(signature(mat="numeric"), plugin="Rcpp", body=' +