[R] Problems with memory

Marlon Martins dos Reis marlon at lscp.pqi.ep.usp.br
Fri Apr 12 13:42:27 CEST 2002

Dear all,

I've started working with R (vs 1041) a few weeks ago, and now I'm
having problems with the amount of memory.
I'm working on the windows-me, my computer has 128 Mb of memory. I'm
using the R under the emacs (ESS-5.1.20) and it is started by the
Rterm --min-vsize=10M --max-vsize=100M --min-nsize=500k --max-nsize=1M

I've been had problems when executing a loop like:
for (i in 1:n)
After few interactions  it stops with the message:
"Error: cannot allocate vector of size 7890 Kb
In addition: Warning message:
Reached total allocation of 127Mb: see help(memory.size)"

I thought that using "rm" I would avoid problem with memory. Did I miss
some point on using "rm"? Is there any other way to remove objects from
the memory?

Thanks in advance,

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