Hi, I tried to read in a big table (1.4M rows, 4 fields each) using read.table() and ran out of 'cons' memory with the following message: Error: cons memory (2800000 cells) exhausted Could someone please explain how to guess required nsize? My understanding of help(Memory) is that 'cons' memory should not be a limitation unless you create many "language" objects. Another question is there any more memory efficient than read.table way to create a data frame from a table? I use:> version_ platform Windows arch x86 os Win32 system x86, Win32 status major 1 minor 1.1 year 2000 month August day 15 language R>And this is the shortcut to run R: D:\R\rw1011\bin\Rgui.exe --nsize=2800k --vsize=100M Thank you, Vadim -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Thu, 21 Dec 2000, Vadim Ogranovich wrote:> Hi, > > I tried to read in a big table (1.4M rows, 4 fields each) using read.table() > and ran out of 'cons' memory with the following message: > Error: cons memory (2800000 cells) exhausted > > Could someone please explain how to guess required nsize? My understanding > of help(Memory) is that 'cons' memory should not be a limitation unless you > create many "language" objects.One simple and general solution is to upgrade to 1.2.0, where memory size is adjusted automatically. I don't think we have ever worked out the exact memory requirements of read.table. -thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._