Skip to content

startup bug (PR#7138)

3 messages · rls54@cornell.edu, Brian Ripley, Rob Strawderman

#
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]
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]
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.
#
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@cornell.edu wrote:

            

  
    
#
The suggestion to use update.packages() appears to have
solved the problem, thanks.