[Rcpp-devel] Transform arbitrary R object into std::vector>

2016-05-19 Thread Paul Saary
Hello, I have been trying to solve this problem for quite some time now, so I thought I'd ask here. I am trying to write a Cpp function, accepting multiple input types, such as matrices and dataframes. I understood that I could do this by accepting any SEXP object. The core problem now is to tr

Re: [Rcpp-devel] Transform arbitrary R object into std::vector>

2016-05-19 Thread Paul Saary
into armadillo, but I hoped to avoid loading another library, to reduce the depencies of my script/package. Paul On 19.05.2016 12:07, Dirk Eddelbuettel wrote: > > On 19 May 2016 at 10:46, Paul Saary wrote: > | Hello, > | > | I have been trying to solve this problem for quite