stefan.albrecht@allianz.com
2004-Jun-23 10:28 UTC
[Rd] Cannot Restore Workspace with R 1.9.1 (PR#7012)
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? Many thanks and best regards, Stefan
Prof Brian Ripley
2004-Jun-23 10:46 UTC
[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
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'.[not CCing to r-bugs, because quite probably not a bug ...] He? Why does MASS load when you try to load a workspace? Anyway, it sounds like you have mixed different R installations (in particular one that is older than R-1.9.0 and R-1.9.1) or at least you have outdated packages in your libraries. Moreover, you may have some self edited startup stuff (like loading MASS in any RProfile file???). It would help us to know what you did exactly ... Uwe Ligges> 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? > > Many thanks and best regards, > > Stefan > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
stefan.albrecht@allianz.com
2004-Jun-23 11:45 UTC
[Rd] Cannot Restore Workspace with R 1.9.1 (PR#7012)
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 .RDatawith> 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