<div dir="ltr"><font face="courier new, monospace">Hello,</font><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">reading a matrix from a file and transforming it to raw format, I get a </font><span style="font-family:'courier new',monospace">"std::vector< Rcpp::RawVector >", </span><span style="font-family:'courier new',monospace">how can I wrap it</span><span style="font-family:'courier new',monospace"> to "Rcpp::</span><span style="font-family:'courier new',monospace">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++?</span></div>
<div><br></div><div><font face="courier new, monospace">Thank you for your help,</font></div><div><font face="courier new, monospace">Sven.</font></div></div>