[R] re| memory.limit()

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Wed Nov 20 16:16:43 CET 2002


Not quite!

memory.limit only exists on Windows, and is not the same as --max-mem-size
(which you probably never need to set on Windows).

>From the CHANGES file for rw1060:

  The default memory limit has been raised to the smaller of 1Gb and the
  amount of physical RAM.  (See the changes for rw1040 and rw1020 below.)

On Wed, 20 Nov 2002, Steve Wisdom wrote:

>
> Mpiktas <mpiktas at delfi.lt> wrote :
>
> >Something like memory.limit(512) will do the trick
>
> Luis Silva <lm.silva at sapo.pt> wrote :
>
> >I had that problem already. In windows I did this
> >C:\Programas\R\rw1060\bin\Rgui.exe --max-mem-size=400M
> >in the icon path of R. You'll have to try several sizes.
>
> I believe recent versions of R on Windows automatically set memory.limit to
> the size of physical memory.  For instance, on my 512m machines a
> plain-vanilla install of R 1.6.1 returns
>
> > memory.limit()
> [1] 536264704
>
> Also note these recent changes :
>
> http://www.r-project.org/nocvs/mail/r-announce/latest/0070.html

Not relevant, and in the NEWS file.

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list