[R] Huge workspace cannot be opened

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Aug 22 16:51:00 CEST 2001


On Wed, 22 Aug 2001 brunels at free.fr wrote:

> I have a problem that some people may have already encountered but i did not
> find the solution yet.
> As I use R to simulate several arrays of data, my workspace is now 35Mb big and
> I cannot launch R with it.
>
> An "xdr real data read error occured" and R tells me to delete .RData or
> increase memory. I WON'T delete this file and changing the max-nsize to 40600k
> did not change a thing.
> I am running R from Windows with the command line :
> "$path\Rgui.exe"  --min-vsize=10M --vsize=60M --max-vsize=200M --min-
> nsize=1000k --nsize=2900k --max-nsize=40600k

If this is a recent version of R, just leave off all the flags and let R
itself figure out how to manage memory.  If you have less than 128Mb of
RAM, I would add --max-mem-size=128M.  If you still get the error,
I am afraid that your workspace has been corrupted, and your work is lost.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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