From stefan.albrecht at allianz.com  Wed Jun 23 11:45:16 2004
From: stefan.albrecht at allianz.com (stefan.albrecht@allianz.com)
Date: Wed Jun 23 11:45:26 2004
Subject: [Rd] Cannot Restore Workspace with R 1.9.1 (PR#7012)
Message-ID: <OFDA7087AB.927AE044-ONC1256EBC.0034F9E6@muc.allianz>


Many thanks.

 "Another way is to use

library(stats)

in your .Rprofile in that directory."

has worked very fine.

Stefan Albrecht





|---------+--------------------------->
|         |           Prof Brian      |
|         |           Ripley          |
|         |           <ripley@stats.ox|
|         |           .ac.uk>         |
|         |                           |
|         |           06/23/04 10:46  |
|         |                           |
|---------+--------------------------->
  >-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                               |
  |        An:      Stefan Albrecht/HV/Finanzen/Allianz-Sach@ALLIANZ-SACH                                                         |
  |        Kopie:   r-devel@stat.math.ethz.ch, <R-bugs@biostat.ku.dk>                                                             |
  |        Thema:   Re: [Rd] Cannot Restore Workspace with R 1.9.1 (PR#7012)                                                      |
  >-------------------------------------------------------------------------------------------------------------------------------|



This has recently been discussed in R-help with several workarounds. See
https://www.stat.math.ethz.ch/pipermail/r-help/2004-June/051531.html
and the rest of the thread.

Yet another workaround is

R --vanilla
> load(".RData")

It is not a bug in R, and it is not new in 1.9.1 (the person who reported
problems was using prior to release of 1.9.1).  A more permanent
workaround will appear in the next update of the VR bundle.  AFAICS the
problem reported by Roland Reis is actually in nlme, which manages to
require MASS, grid, lattice and nlme namespaces to reload a glmmPQL object
(via the environment of some embedded formula).

Please don't use R-bugs to ask questions -- see the R FAQ and the posting
guide for the correct places.


On Wed, 23 Jun 2004 stefan.albrecht@allianz.com wrote:

> Full_Name: Stefan Albrecht
> Version: 1.9.1
> OS: Windows NT 4.0
> Submission from: (NULL) (194.127.2.73)
>
>
> Hi  all,
>
> upgrading to R 1.9.1 I am no longer able to restore saved data in .RData
with
> after some involved data manipulations and calculations (fatal error!).
> In addition I get the message
> Error: object 'family' not found whilst loading namespace 'MASS'.
>
> This problem does not occur with R 1.9.0 or if I just make some easier
> calculations with R 1.9.1.
>
> Is there any way to analyse the problem more closely and come around it?

Yes. See the R-help archives.

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


[Rd] Cannot Restore Workspace with R 1.9.1 (PR#7012)
stefan.albrecht@allianz.com