[R] read.table memory requirements

Vadim Ogranovich vograno at arbitrade.com
Fri Dec 22 00:49:15 CET 2000


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list