[Rcpp-devel] Deep copying a matrix
Etienne B. Racine
etiennebr at gmail.com
Thu Jul 14 20:39:23 CEST 2011
Dirk Eddelbuettel wrote:
> Doug first wrote:
> | >> I would rewrite your code fragment as
> | >>
> | >> const Rcpp::NumericMatrix m_source(origin);
> | >> Rcpp::NumericMatrix m_copy = Rcpp::clone(m_source);
> If Etienne needs new behaviour very badly, he may have to look into
> contributing it, or providing funding which may give a higher chance to
> this getting push up on the priority list.
> No, I don't need it badly. (I have more than enough features to learn from
Rcpp !) I was trying to wrap my head around Rcpp and getting back to c++
after spending years in R.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rcpp-devel