Re: [Rcpp-devel] Problem with calling a function in RcppArmadillo to R

2016-11-18 Thread Dirk Eddelbuettel
On 18 November 2016 at 19:08, Kokia Z wrote: | I need to compute a kronecker product of two matrix, but the vector is out of | the limit: | | Error in kronecker(X, as(Y, "TsparseMatrix"), FUN = FUN, make.dimnames = | make.dimnames, : | Error in validityMethod(as(object, superClass)) : | no

[Rcpp-devel] Problem with calling a function in RcppArmadillo to R

2016-11-18 Thread Kokia Z
I need to compute a kronecker product of two matrix, but the vector is out of the limit: Error in kronecker(X, as(Y, "TsparseMatrix"), FUN = FUN, make.dimnames = make.dimnames, : Error in validityMethod(as(object, superClass)) : no support for long vectors:../include/Rinlinedfuns.h:137