[R] read.table memory requirements

Thomas Lumley thomas at biostat.washington.edu
Fri Dec 22 01:59:02 CET 2000


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



More information about the R-help mailing list