From kjetil at entelnet.bo  Fri Jul 25 22:44:58 2003
From: kjetil at entelnet.bo (kjetil brinchmann halvorsen)
Date: Sat Jul 26 03:45:04 2003
Subject: [Rd] --max-mem-size (PR#3562)
In-Reply-To: <200307260053.h6Q0rZJH025610@pubhealth.ku.dk>
Message-ID: <3F21A4DA.15517.15E9796@localhost>

On 26 Jul 2003 at 2:53, slteng@stat.berkeley.edu wrote:

> Full_Name: Melinda Teng
> Version: 1.71
> OS: Windows ME/ Unix
> Submission from: (NULL) (67.118.2.50)
> 
> 
> Hi,
> 
> I had the following message that halted my program in both Windows ME and Unix
> system :
> 
>    Error: cannot allocate vector of size 781250 Kb
>    In addition: Warning message: 
>    Reached total allocation of 247Mb: see help(memory.size) 
> 
> 
> Action(s) taken :
> 1. Use --max-mem-size (on Windows) to increase the R allocation memory to
> maximum, but I encountered the below message :
> 
>     > --max-mem-size
>    Error in -max : Invalid argument to unary operator

Here it seems you use --max-mem-size as it was an R function, it is 
not.  It is a command line option to the command which starts R, on 
windows, for example Rgui. If you use an icon to start Rgui (as you 
should), set this in the "Destino" field (sorry, that the name in 
spanish, don't know what it is in english).

See also
?Memory

Kjetil Halvorsen

> 
> 2. > memory.size(max=TRUE)
>    [1] 25714688
>    > memory.size()
>    [1] 19716928
>    > memory.limit(size=NA)
>    [1] 259465216
>    > memory.limit()
>    [1] 259465216
> 
> 
> Would greatly appreciate any kind advice or resources.
> 
> Thank you very much.
> 
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel


[Rd] --max-mem-size (PR#3562)
kjetil brinchmann halvorsen