Greetings,

I am new to Rcpp, RInside and the entire family of related packages. I am
experienced with R and also C++ using Eigen but I have never combined the
two before. I would like to create a matrix using R and then play with it
using Eigen. From what I have read so far, it seems like I can use RInside
to create an Rcpp::NumericMatrix.

My question is this: to transform a matrix from a Rcpp::NumericMatrix to an
Eigen MatrixXd, do I use RcppEigen? Or is RcppEigen only for calling
C++/Eigen from R and not the other way around?

Thanks,
Stephen
_______________________________________________
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