[R] Odp: Fatal error .RData

Petr PIKAL
Thu, 18 Sep 2008 15:38:00 -0000

> Hi
>
> r-help-bounces at r-project.org napsal dne 18.09.2008 15:41:07:
>
> > We are using R in our class. One student claims to
> > be receiving the message
> >
> > "Fatal error: unable to restore saved data in .RData"

Well, throw my suggestion away.

> 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

shall be
loaded and trying to open R with those packages not ***installed***.
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.

No. Just install those packages in library directory which when loadind
.Rdata R wants to open.

Regards
Petr

>
> Regards
> Petr
>
> >
> > 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
> >
> > ______________________________________________
> > R-help at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.