Should it be .Machine$integer.max- 429497 ^2? The matrix is not a sparse matrix, but a symmetric matrix.
It's a process of feature selection. I am choosing the most important variables from 439497 variables. Now I am considering divide the whole dataset into several part and process a small part first. -- View this message in context: http://r.789695.n4.nabble.com/How-to-create-a-high-dimensional-matrix-tp4646396p4646410.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.