Re: [R] large data set, error: cannot allocate vector

From: Robert Citek <>
Date: Sat 06 May 2006 - 04:31:11 EST

On May 5, 2006, at 11:28 AM, Jason Barnhart wrote:
> ?Memory

Thanks. That pointed me to mem.limits(), gc(), and object.size().

> ?memory.size will be very useful to you in resolving this.

That gave me an error:

R > ?memory.size
No documentation for 'memory.size' in specified packages and libraries: you could try '"memory.size")'

> Not sure what OS you are using, but Windows will be more
> restrictive on
> memory (depending on whether you're using a Server edition, etc.

I'm using R-2.3.0-2 under Fedora Core 4/Linux, which apparently doesn't seem have any set limits:

R > mem.limits()
nsize vsize

    NA NA

- Robert
Help others get OpenSource software. Distribute FLOSS for Windows, Linux, *BSD, and MacOS X with BitTorrent mailing list PLEASE do read the posting guide! Received on Sat May 06 04:38:00 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 06 May 2006 - 06:10:03 EST.

Mailing list information is available at Please read the posting guide before posting to the list.