[R] save.image() error

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Sun Apr 7 18:31:35 CEST 2002

On Sun, 7 Apr 2002, Marc R. Feldesman wrote:

> The "fix" in ?save.image solves the problem, but this seems to be a
> definite *issue* with Windows XP Pro.  I took the identical .RData file

For you.  I have never seen it on Windows XP Pro, and I use that as much
as 2000.  And that includes a dual-processor XP machine.

We have had no other reports.

> from the XP machine and moved it onto a machine with Windows NT 4, and two
> others running Windows 2000 Pro.  Neither of them evidence the problem
> "unfixed".  The XP Pro machine is a 2.2 GHz P4 running 1024 MB RAM and a
> 120 GB Harddrive with about 100 GB free.  BTW, logging out of the XP box
> doesn't result in the temp files being erased.  Once created, I have to go
> in and manually delete them.
> How is the behavior of "File|Save Image" different
> from >save.image("a.file.image.name")?  The former works without the "fix"
> while the latter fails unless I have the "fix" in place in the .RProfile

You have the sources ....  It actually calls save.image(), so I don't
think it is different in any way.  There is a difference between the cases
where the file already exists and when it does not.

> What is a "race" condition?

Two processes trying to access the same resource at the same time.

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