[R] re| memory.limit()

Steve Wisdom swisdom at deephavenfunds.com
Wed Nov 20 14:56:28 CET 2002

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 :


R-1.6.0 is released 

o Command-line flags to set memory can now use the suffix `G' 
        for gigabytes. The setting of maximum vsize is now only 
        limited by the platform's address space. 

o Internally memory sizes and counts of cons cells are now stored 
        in unsigned longs. This allows memory limits to be set and 
        objects created in the range 2-4Gb on 32-bit platforms, and 
        allows 64-bit platforms to use much larger amounts of memory. 

This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information.  If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is strictly prohibited.
If you have received this e-mail in error, please immediately notify me and
permanently delete the original and any copy of any e-mail and any printout

E-mail transmission cannot be guaranteed to be secure or error-free.  The
sender therefore does not accept liability for any errors or omissions in
the contents of this message which arise as a result of e-mail transmission.

NOTICE regarding privacy and confidentiality 

Knight Trading Group may, at its discretion, monitor and review the content
of all e-mail communications. 

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