[R] memory allocation

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Nov 16 17:18:58 CET 2004

There is more to that message you have not reproduced.

I am pretty sure you are on Windows, and you need to read the rw-FAQ (as 
the posting guide asks you too).  See Q2.7.

On Tue, 16 Nov 2004, Massimiliano Copetti wrote:

> I'm using the Splancs package to compute standard errors of the 
> estimates of a spatio-temporal k function. When I use as spatial and 
> temporal distances too long vectors (respectively 60 and 80 entries) for 
> a dataset of 1000 observations, R gives me the message
> Error: cannot allocate vector of size 180000 Kb
> Reached total allocation of 512 Mb.
> I ran the function memory.size() and obtained 392000000 more or less.

Yes, but see its help page for the relevant usage.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list