Re: [Rcpp-devel] Very Large Matrices in RcppArmillao

2012-07-17 Thread Douglas Bates
On Tue, Jul 17, 2012 at 8:14 AM, Dirk Eddelbuettel wrote: > > On 16 July 2012 at 23:30, French, Joshua wrote: > | I am doing some linear algebra on large matrices in R and receiving the > | following error: "allocMatrix: too many elements specified". From what I > | understand, the error is caus

Re: [Rcpp-devel] Very Large Matrices in RcppArmillao

2012-07-17 Thread Dirk Eddelbuettel
On 16 July 2012 at 23:30, French, Joshua wrote: | I am doing some linear algebra on large matrices in R and receiving the | following error: "allocMatrix: too many elements specified". From what I | understand, the error is caused by the fact that R uses 32-bit ints and not | 64-bit ints for mat

Re: [Rcpp-devel] Very Large Matrices in RcppArmillao

2012-07-17 Thread Christian Gunning
On Tue, Jul 17, 2012 at 12:50 AM, Christian Gunning wrote: > On Mon, Jul 16, 2012 at 10:30 PM, > wrote: >> 2. I have found in the past that some of the speeds gains from >> RcppArmadillo in comparison to pure R are lost when passing large matrices >> as arguments. There will always be overhea

[Rcpp-devel] Very Large Matrices in RcppArmillao

2012-07-16 Thread French, Joshua
I am doing some linear algebra on large matrices in R and receiving the following error: "allocMatrix: too many elements specified". From what I understand, the error is caused by the fact that R uses 32-bit ints and not 64-bit ints for matrix indices, so R doesn't have a way to represent all