michael papenfus
2006-Sep-23 03:59 UTC
[R] Fatal error: unable to restore saved data in .RData --- no package called 'nlme'
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. 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'. Any suggestions, Mike [[alternative HTML version deleted]]
Prof Brian Ripley
2006-Sep-23 09:50 UTC
[R] Fatal error: unable to restore saved data in .RData --- no package called 'nlme'
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