Re: [Rd] coerce SEXP type to C++ matrix class and back

2016-01-11 Thread Antonio Perez
Dirk, I am sorry if it sounded disrespectful. On the contrary, as I said, your packages Rcpp and RcppArmadillo work very well, and use both of them in more "complex" applications. However, in this particular case in which I have just one object of one type (matrix double) with its elements stored

[Rd] coerce SEXP type to C++ matrix class and back

2016-01-10 Thread Antonio Perez
Dear all, I am testing a simple C++ function that takes a double matrix as argument and which uses routines provided by the C++ Armadillo package. I am aware of the nice capabilities of Rcpp and RcppArmadillo which helps simplifying a lot and that I have already successfully tested. However, I had