Dear R community, I am using R version 2.4.1 GUI 1.18 on an iBook G4 with OS 10.4.10. When I try to load package 'gplots' I get the following message: > library(gplots) Loading required package: gdata Attaching package: 'gdata' The following object(s) are masked _by_ .GlobalEnv : reorder.factor Loading required package: gtools Attaching package: 'gtools' The following object(s) are masked from package:car : logit Error in `parent.env<-`(`*tmp*`, value = NULL) : use of NULL environment is defunct Error: package/namespace load failed for 'gplots' 'gplots' is not loaded. I have downloaded 'gplots' version 2.3.2 several times with no apparent problems: trying URL 'http://www.biometrics.mtu.edu/CRAN/bin/macosx/universal/ contrib/2.4/gplots_2.3.2.tgz' Content type 'application/x-gzip' length 317388 bytes opened URL =================================================downloaded 309Kb The downloaded packages are in /tmp/RtmpbvGZnQ/downloaded_packages I am confused by this because I successfully used 'gplots' about a year ago with no problem on the same machine. The only differences I can think of since then is that I have upgraded to a newer version of R as well as upgraded from Mac OS 10.3 to 10.4. Any suggestions are very welcome. I really want to use barplot2() with some data I just worked up. Erin Erin Berryman Graduate Student Department of Forest Resources University of Idaho Moscow, ID 83843 208-559-5705 [[alternative HTML version deleted]]
Hi Erin, Since the error occurs during the loading of the gtools package, I would suggest upgrading to a newer version of gtools to see if this solves your problem. -G On Aug 24, 2007, at 12:49PM , Erin Berryman wrote:> Dear R community, > > I am using R version 2.4.1 GUI 1.18 on an iBook G4 with OS 10.4.10. > When I try to load package 'gplots' I get the following message: > >> library(gplots) > Loading required package: gdata > > Attaching package: 'gdata' > > > The following object(s) are masked _by_ .GlobalEnv : > > reorder.factor > > Loading required package: gtools > > Attaching package: 'gtools' > > > The following object(s) are masked from package:car : > > logit > > Error in `parent.env<-`(`*tmp*`, value = NULL) : > use of NULL environment is defunct > Error: package/namespace load failed for 'gplots' > > 'gplots' is not loaded. I have downloaded 'gplots' version 2.3.2 > several times with no apparent problems: > > trying URL 'http://www.biometrics.mtu.edu/CRAN/bin/macosx/universal/ > contrib/2.4/gplots_2.3.2.tgz' > Content type 'application/x-gzip' length 317388 bytes > opened URL > =================================================> downloaded 309Kb > > > The downloaded packages are in > /tmp/RtmpbvGZnQ/downloaded_packages > > > > I am confused by this because I successfully used 'gplots' about a > year ago with no problem on the same machine. The only differences I > can think of since then is that I have upgraded to a newer version of > R as well as upgraded from Mac OS 10.3 to 10.4. > > Any suggestions are very welcome. I really want to use barplot2() > with some data I just worked up. > > > Erin > > > Erin Berryman > Graduate Student > Department of Forest Resources > University of Idaho > Moscow, ID 83843 > 208-559-5705 > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code.
Thank you! That did the trick. Package 'gplots' is now running properly on my machine. Erin On Aug 24, 2007, at 7:57 PM, Gregory Warnes wrote:> > > > On Aug 24, 2007, at 9:47PM , Erin Berryman wrote: > >> > library(gplots) >> Error in lazyLoadDBfetch(key, datafile, compressed, envhook) : >> internal error in R_decompress1 >> Error: package/namespace load failed for 'gplots' >> >> Can you help me interpret the error message? >> > > Hmm, thats a nasty little error message. I wonder if the gplots > file was corrupted by the download. Can you try re-installing it > from a different repository? I just tried using this one: > > http://cran.fhcrc.org/bin/macosx/universal/contrib/2.5/ > gplots_2.3.2.tgz > > and it appeared to install and work properly. > > -Greg > >