Re: [Rcpp-devel] using Rinside/Rcpp and Eigen

2012-04-12 Thread Dirk Eddelbuettel
Hi, Thanks for posting here. On 12 April 2012 at 07:31, Cattus Cerebrum wrote: | I have a c++ project that stores data in Eigen matrices. | I would like to use R functionality from the c++ code, | but I am not sure how to convert my data to Rcpp data types | (e.g. NumericVector). Should I creat

[Rcpp-devel] using Rinside/Rcpp and Eigen

2012-04-12 Thread Cattus Cerebrum
I have a c++ project that stores data in Eigen matrices. I would like to use R functionality from the c++ code, but I am not sure how to convert my data to Rcpp data types (e.g. NumericVector). Should I create a NumericVector and copy my data into it, or is there any way to avoid the copy by using