[R] memory.limit function not found

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jun 6 18:50:29 CEST 2006

On Tue, 6 Jun 2006, Priscila Darakjian wrote:

> I have installed R 2.2.1 in Solaris 10 and am trying to increase the 
> memory capacity (the system has 16G RAM) to 3 or 4G, but I keep getting:
>> memory.limit(size=3000)
> Error: couldn't find function "memory.limit"
> Am I missing anything? I do that all the time under Windows.

Yes, you are not using Windows and that is part of R's memory manager on 
Windows.  On Solaris, R uses the system memory manager, and you set limits 
in your shell (via limit or ulimit) before launching R.

If you have a 32-bit build of R, the limit on Solaris is probably 3GB. 
But you should be able to use a 64-bit build with a much larger limit.

One might ask why you installed R 2.2.1 when 2.3.1 is current?

> Any help would be appreciated.
> Thanks
> Priscila

> 	[[alternative HTML version deleted]]

> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

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