[R] Fatal error: unable to restore saved data in .Rdata

Kjetil Brinchmann Halvorsen kjetil at acelerate.com
Sun Oct 10 20:00:10 CEST 2004


Susan Yeh wrote:

>Dear Sir/Madam:
>I'm currently running R 1.9.1 on a Mac OS 10.3. I have been able to
>use it fine for a while now. But for some reason, it now crashes
>each time I open it with the error: Fatal error: unable to restore
>saved data in .Rdata
>I read on the online help forum that I can just delete the bad
>.Rdata file. But I cannot find it. I even tried to delete
>everything related to R and reinstalling but the problem has not
>gone away.
>Please HELP!
>Thank you,
>Susan Yeh
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
>  
>
start R with a flag --no-restore-data
How you specify that on a Mac I don't know, but should be easy, on 
windows it can be defined in
then shortcut)
then type getwd()
to get your working directory.
Then list.files(pattern="*.Rdata")
Now you know where is the bad file an d can continue to remove it.

Kjetil

-- 

Kjetil Halvorsen.

Peace is the most effective weapon of mass construction.
               --  Mahdi Elmandjra




More information about the R-help mailing list