Hello,

reading a matrix from a file and transforming it to raw format, I get
a "std::vector<
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,
Sven.
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to