[Rd] problem loading packages (PR#559)
Rashid Nassar
rnassar@duke.edu
Sat, 3 Jun 2000 13:10:13 -0400 (EDT)
Dear Professor Ripley,
Thank you for your reply. What you said reminded me that I have recently
been searching for some old data, and may well have loaded an old .RData
file in an attempt to find them. Thank you again.
Rashid Nassar
On Sat, 3 Jun 2000, Prof Brian D Ripley wrote:
> Date: Sat, 3 Jun 2000 07:11:34 +0100 (BST)
> From: Prof Brian D Ripley <ripley@stats.ox.ac.uk>
> To: rnassar@duke.edu
> Cc: r-devel@stat.math.ethz.ch, R-bugs@biostat.ku.dk
> Subject: Re: [Rd] problem loading packages (PR#559)
>
> My guess is that this is due to a very old .RData, as .Dyn.libs
> disappeared a couple of years ago, I believe. In any case,
> .GlobalEnv etc are in a .RData of recent provenance.
>
> General warning: do not expect .RData files from alpha or beta versions
> of R to work without some cleaning.
>
> On Fri, 2 Jun 2000 rnassar@duke.edu wrote:
>
> > Dear R team,
> >
> > I had a strange problem that appeared suddenly, and which I'd like to
> > to mention in case it is of interest (although I suspect that I
> > may have unwittingly done something dumb: if so please accept my apology)
> >
> > > library(ctest) ## or any package other than "oz" that I tried
> > Error in as.character(table) : Object ".Dyn.libs" not found
> > > traceback()
> > [1] "as.character(table)" "match(chname,
> > .Dyn.libs)"
> > [3] "library.dynam(\"ctest\", pkg, lib)" "firstlib(which.lib.loc,
> > package)"
> > [5] "library(ctest)"
> >
> > I traced the problem to my .RData file, and specifically to ".AutoloadEnv"
> >
> > > ls(all.names=TRUE)
> > [1] ".AutoloadEnv" ".GlobalEnv" ".Library"
> > [4] ".Machine" ".Platform" ".PostScript.Options"
> > [7] ".Provided" ".Random.seed" ".Traceback"
> > [10] ".lib.loc"
> >
> > I removed the above, one at a time, and tried loading a library. It
> > worked after I removed ".AutoloadEnv". I confirmed it by checking
> > that R works normally if I only remove ".AutoloadEnv". I don't know
> > what could have caused the problem in the first place. The contents
> > of ".AutoloadEnv" are shown below:
> >
> > > .AutoloadEnv
> > <environment: 0x40691ddc>
> > attr(,"name")
> > [1] "Autoloads"
> >
> > > rm(".AutoloadEnv")
> > > library(gee)
> > > library(nlme)
> > Loading required package: nls
> >
> >
> > Thank you very much.
> >
> > Rashid Nassar
> >
> > --please do not edit the information below--
> >
> > Version:
> > platform = i586-unknown-linux
> > arch = i586
> > os = linux
> > system = i586, linux
> > status =
> > major = 1
> > minor = 0.1
> > year = 2000
> > month = April
> > day = 14
> > language = R
> >
> > Search Path:
> > .GlobalEnv, package:ctest, Autoloads, package:base
> >
> >
> >
> > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> > r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> > Send "info", "help", or "[un]subscribe"
> > (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
> > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> >
>
> --
> 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 272860 (secr)
> Oxford OX1 3TG, UK Fax: +44 1865 272595
>
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._