Skip to content

Fatal error .RData

4 messages · Green, Paul, Duncan Murdoch, PIKAL Petr +1 more

#
We are using R in our class. One student claims to
be receiving the message

"Fatal error: unable to restore saved data in .RData"

The student is working in a Windows environment with Vista
using the precompiled binary distribution (R-2.7.2).

After searching the R site and reading FAQs, I suggested
the student find .RData in the working directory and delete it.

The student claims this did not work so I recommended starting
R from a command line with the --no-restore option.

Has anyone had any experience with this? Does anyone know
what may be causing this? This is the first time I have
encountered this.

Paul Green
#
On 18/09/2008 9:41 AM, Green, Paul wrote:
Your advice was right:  something is wrong with .RData, and the solution 
is not to try to read it.

Likely if deleting .RData failed to solve the problem, it's because the 
wrong one was deleted.  But running with --no-restore will skip reading 
what's there, and saving the workspace will probably overwrite the right 
one (assuming the student has the necessary file system permissions to 
do that).

Duncan Murdoch
#
Hi

r-help-bounces at r-project.org napsal dne 18.09.2008 15:41:07:
I sometimes get such message when I save .RData with some nonstandard 
packages loaded and trying to open R with those packages not loaded. 
Especially when I work on one machine then save data transfer them on 
other machine.

Then it is worth to rename .Rdata, open R, load packages and open renamed 
data.

Regards
Petr
http://www.R-project.org/posting-guide.html
#
If the students have the permission, maybe run R as administrator solves the 
question too.

Rodrigo.

--------------------------------------------------
From: "Duncan Murdoch" <murdoch em stats.uwo.ca>
Sent: Thursday, September 18, 2008 10:48 AM
To: "Green, Paul" <pgreen em umich.edu>
Cc: <r-help em r-project.org>
Subject: Re: [R] Fatal error .RData