[Rcpp-devel] Integer matrices in Rcpp and Armadillo
edd at debian.org
Thu Jun 6 18:32:55 CEST 2013
On 6 June 2013 at 18:03, Simon Zehnder wrote:
| What I need is an arma::umat in C++ and if possible in addition an integer array in R. Is this possible?
R itself has no unsigned integers (just as it has no [signed or unsigned] short or long integeger).
You should be able to write wrappers though, but this MUST entail copies for
that very reason. So maybe stick to ints?
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel