Message-ID: <1037688178.923.9.camel@mpiktas>
Date: 2002-11-19T06:42:58Z
From: Vaidotas Zemlys
Subject: cannot allocate ...
In-Reply-To: <15832.44378.168964.540525@0-e0-98-8a-c5-4a.dhcp.lbl.gov>
Hi,
> Does anyone know how I can avoid this error?
>
> Error: cannot allocate vector of size 554 Kb
I assume that you are using R under windows. Try functions memory.size()
and memory.limit(). The first will show how much memory R uses and the
second will set the maximum memory size R can use. Something like
memory.limit(512)
will do the trick. It tells R that it can use up to 512MB of memory. Do
?memory.limit for more details.
I think that these functions are only in R build for Windows. If you
can't avoid using a lot of memory I shoud advise you (based on my
personal experience) to use R under Linux.
Vaidotas Zemlys
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._