I have 500,00 rows in my matrix and i was wondering whether there is any way to get its SVD without breaking it to parts
because if R can only read about 1000 columns then to have a rectangular matrix (diagonal i think they are called) I will need to have only 1000 rows I want to know how i can do this? natasha ________________________________ From: Steve Lianoglou <mailinglist.honey...@gmail.com> Cc: R group <r-help@r-project.org> Sent: Mon, 27 September, 2010 3:23:58 Subject: Re: [R] finding big matrix size and SVD Hi, rote: > Dear R helpers > > I have a big data sheet (CSV) which I use âread.csvâ to read it > > When im trying to get the Dim() it says 38 column which is not correct it >should > be something about 400. > I am wondering whether there is any way I can read it right⦠I have used ncol() > and itâs the same answer It seems that perhaps the input file isn't well formed, and R can't correctly identify that each row should have 400 columns? Maybe you can try to read it in manually (using readLines, for instance), and strsplit each line so that you can get finer control of reading the file. Alternatively, you can try and edit the file by hand to fix it. > On the other hand I use to get the SVD of it but I have about 500,000 rows so > considering that it should be rectangular matrix⦠> im wondering how this can be possible I don't follow this part, sorry ... what's the question here? -- Steve Lianoglou Graduate Student: Computational Systems Biology | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact [[alternative HTML version deleted]]
______________________________________________ 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.