[R] [Q] Sparse Matrices in R?
Jean-Cedric Chappelier
Jean-Cedric.Chappelier at epfl.ch
Tue Sep 11 16:02:39 CEST 2001
Does anyone knows if there is a way to handle sparse matrices in R?
More precisely I am looking for a way to do correspondance analysis
on a contingency table which is quite huge (1,000 x 10,000) but sparse
(i.e. full of zero).
Creating it directly in R (eg as x <- array(0,c(1000,10000) then filling
the non zero cells) seems definitely not the good solution as
R is then unable to process it (e.g. ca(x) stop for out of memory:
"Error: cannot allocate vector of size xxx")
Any help?
Thank you.
--
Jean-Cédric Chappelier | WWW: http://liawww.epfl.ch/~chaps
DI-LIA-INR232 | Tel: +41 21 693.66.83 or .78
EPFL, DI (INR), CH-1015 Lausanne | Fax: +41 21 693.52.25
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list