Re: [R] How to create a high-dimensional matrix

2012-10-17 Thread R. Michael Weylandt
On Tue, Oct 16, 2012 at 10:56 PM, lrl wrote: > Should it be .Machine$integer.max- 429497 ^2? > 6 of one; half dozen of the other. Your matrix is still absolutely massive: the development version of R does allow for lager matrices so I think you can store a 429497 by 429497 in memory then, but it

Re: [R] How to create a high-dimensional matrix

2012-10-16 Thread lrl
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

Re: [R] How to create a high-dimensional matrix

2012-10-16 Thread R. Michael Weylandt
On Tue, Oct 16, 2012 at 8:46 PM, lrl wrote: > Hi, everyone > > I need to create a 429497 x 429497 matrix. > When I use > *matrix(0,429497,429497)* > I got the error information : Error in matrix(0, 429497, 429497) : too many > elements specified > > Then I use "ff" package, try to store this matr