Re: [Rd] startup bug (PR#7138)

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu 29 Jul 2004 - 03:06:14 EST


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:

> 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@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

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
Received on Thu Jul 29 03:10:42 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 08:59:14 EST