[Rd] startup bug (PR#7138)

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jul 28 19:06:14 CEST 2004


This is almost surely not bug in R: it is working as intended.

You can search the R-help archives for similar problems and several 
solutions.  However, your main problem is that your MASS is not up to 
date, and you need to run update.packages().  (The current MASS has a 
workaround for this.)

Note that there is nothing reproducible here, and we have to guess that
you have the same cause as the previously reported symptom.  There is an
extensive section on BUGS in the FAQ: please read and follow its advice.

On Wed, 28 Jul 2004 rls54 at cornell.edu wrote:

> Full_Name: Rob Strawderman
> Version: 1.9.1
> OS: red hat linux 8
> Submission from: (NULL) (128.253.217.211)
> 
> 
> The following demonstrates the basic problem:
> 
> [martingale <99>]% rm .RData 
> rm: remove regular file `.RData'? y
> 
> [martingale <100>]% R
> 
> R : Copyright 2004, The R Foundation for Statistical Computing
> Version 1.9.1  (2004-06-21), ISBN 3-900051-00-3
> 
> [deleted]
> 
> > source("test.q")
> 
> Loading required package: nlme 
> Loading required package: MASS 
> Loading required package: Matrix 
> 
> [deleted - test.q uses the MASS function glmmPQL
> and runs just fine. Some output is written to a 
>  structure I wish to save]
> 
> > q()
> Save workspace image? [y/n/c]: y
> 
> [martingale <101>]% R
> 
> R : Copyright 2004, The R Foundation for Statistical Computing
> Version 1.9.1  (2004-06-21), ISBN 3-900051-00-3
> 
> Error: object 'family' not found whilst loading namespace 'MASS'
> Fatal error: unable to restore saved data in .RData
> 
> 
> If I simply remove .RData, start up R, load the indicated libraries,
> and quit & save, I can start R up again with no problem.

-- 
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-devel mailing list