[R] increase the default memory for R

salvatore barbaro sbarbar at uni-goettingen.de
Wed Jul 24 11:07:34 CEST 2002


Dear In-Sun,

how to solve your problem depends on the system you are 
working. If you are starting R via UNIX, you should call R with
	R --vsize=500M --nsize=20000k
(500 and 20000 are only examples)

If you are using R via Windows, try go on the R-icon on your 
desktop and use the right mouse botton. Select "properties" and in 
the field "target" instead of 
C:\Programme\R\rw1051\bin\Rgui.exe
(path is also an example)
consider
C:\Programme\R\rw1051\bin\Rgui.exe --max-mem-size=512M
(whereby 512 is also an example)

Best regards

yours

s.



On 24 Jul 2002, at 9:30, In-Sun Nam wrote:

Dear All,

I have encountered an error while using nlme that states

Error: cannot allocate vector of size 16535 kb
In addition: Warning message:
Reached totol allocation of 63Mb: see help(memory.size).

So I was trying to modify "the default memory available for data
storage" by launching R from command line, but I do not quite
understand how I should set the relevant values, supposed to be 
using
gc() and memory.size().

Any help will be very much appreciated...

Many thanks,
In-Sun

In-Sun Nam
School of Pharmacy and Pharmaceutical Sciences
University of Manchester
Oxford Road
Manchester
M13 9PL


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-.-.-.- 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._._._._

salvatore barbaro
department of public economics
platz der göttinger sieben 3
37073 göttingen
tel.: +49 551 3919704
fax:  +49 551 39 7353
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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