[R] Fatal error: unable to restore saved data in .RData --- no package called 'nlme'

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Sep 23 11:50:09 CEST 2006


On Fri, 22 Sep 2006, michael papenfus wrote:

> I am using Windows XP and R 2.3.1.
> During my lastest session I updated my packages and now when I try to start
> R 2.3.1
> I get the following error message:
>
> Fatal error: unable to restore saved data in .RData in an error window and
> Error in loadNamespace(name): there is no package called 'nlme' in the R
> console.
>
> I had been using nlme and lme4 when I updated my packages.

Uh, oh, don't do that.  You cannot update a currently used package.

> I did a search on this error but unfortunatley I don't really understand the
> solution.
>
> I would like to continue using R and 'nlme'.

Find the file .RData in your R working directory, and rename it.
Start R, and run

install.packages("nlme")
load("whatever you renamed .RData to")

At the end of the session, save the workspace.


> Any suggestions,
> Mike
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> 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
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list