Steve, If you want to use a variable being an arma::mat obejct with varying memory, you could use an arma::mat pointer. Otherwise if memory stays the same but should be reusable in R, Dirk's suggestion initialising memory in R and passing it to C++ is the most practicable way and very fast.
Best Simon Gesendet über den BlackBerry® Service von E-Plus. -----Original Message----- From: Steven Varga <[email protected]> Sender: [email protected]: Mon, 25 Nov 2013 23:23:24 To: <[email protected]> Reply-To: [email protected] Subject: Re: [Rcpp-devel] RcppArmadillo matrix with writeable auxiliary memory _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
