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. Any help would be appreciated. Thanks Priscila [[alternative HTML version deleted]]
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
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"The function is only required on Windows. No need to use it on Solaris: You will get as much as available for your process automatically. Uwe Ligges> Am I missing anything? I do that all the time under Windows. > > Any help would be appreciated. Thanks > > Priscila > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the > posting guide! http://www.R-project.org/posting-guide.html
Thanks, Prof Ripley. Now I understand. And , regarding the version, R was installed a while ago in this machine, when v. 2.3.1 was not available. Thanks again.>>> "Prof Brian Ripley" <ripley at stats.ox.ac.uk> 6/6/2006 9:50 AM >>>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