[R] memory.size problem

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Mon Mar 31 09:45:06 CEST 2003


On Mon, 31 Mar 2003, Patricia Rexova wrote:

> Hello,
> I have this problem:
> I want make 2-way anova lm(x~y+z).
> x,y,z are vectors of 4268 numbers (numbers 1-15).
> 
> R writes me back:
> > lm(x~y+z)
> Error: cannot allocate vector of size 35677 Kb
> In addition: Warning message:
> Reached total allocation of 127Mb: see help(memory.size)
> 
> I tried to change memory size and object size
> 
> > options(memory=1E15)
> > options(object.size=5E12)
> But this does not help.
> 
> Could you help me with the easiest way to deal my problem?

Yes, follow the instructions: you are using R and not S-PLUS.
Do try help(memory.size) as suggested!  The information is also in the 
rw-FAQ.


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