[Rcpp-devel] vector < RawVector > to RawMatrix [like do.call(rbind, mylist)]
Sven E. Templer
sven.templer at gmail.com
Fri Jan 10 10:51:33 CET 2014
reading a matrix from a file and transforming it to raw format, I get
Rcpp::RawVector >", how can I wrap it to "Rcpp::RawMatrix". Right now I use
"Rcpp::List::create(vector< RawVector >)" and use do.call(rbind, mylist) in
R (does this do a copy to the memory?). Is there a way to wrap it in C++?
Thank you for your help,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rcpp-devel