[R] large matrices in SparseM

2009-08-14 Thread Ze grisi
Hi there, I'm having a problem when trying to create a large matrix (1,000,000 x 1,000,000) of the .csr type (package 'SparseM'). k - rep(0,100) tmp - length(k) tmp2 - as.matrix.csr(0,tmp,tmp) Error in if (length(x) == nrow * ncol) x - matrix(x, nrow, ncol) else { : missing value where

Re: [R] large matrices in SparseM

2009-08-14 Thread Ze grisi
:24 PM, Ze grisi zegr...@gmail.com wrote: Hi there, I'm having a problem when trying to create a large matrix (1,000,000 x 1,000,000) of the .csr type (package 'SparseM'). k - rep(0,100) tmp - length(k) tmp2 - as.matrix.csr(0,tmp,tmp) Error in if (length(x) == nrow * ncol) x - matrix