Dear all, I am trying to install packages with the new R 2.0.0. However for several packages, like MASS, lattice or R2HTML, I get an error like:> library(lattice)Error in library(lattice) : 'lattice' is not a valid package -- installed < 2.0.0?>However, I have just downloaded the latest versions from CRAN. As far as lattice is concerned, it seems that the Windows binary is not the latest version of lattice (0.9-16 vs. 0.10-11). Is there any solution to this? Many thanks and best regards, Stefan [[alternative HTML version deleted]]
stefan.albrecht at allianz.com wrote:> > > > Dear all, > > I am trying to install packages with the new R 2.0.0. However for > several packages, like MASS, lattice or R2HTML, I get an error like: > > >>library(lattice) > > Error in library(lattice) : 'lattice' is not a valid package -- > installed < 2.0.0?Eh? "lattice" and "MASS" (the latter from bundle "VR") are both recommended packages that are both shipped with the released version of R. You don't need to download them separately.> > However, I have just downloaded the latest versions from CRAN. > > As far as lattice is concerned, it seems that the Windows binary is > not the latest version of lattice (0.9-16 vs. 0.10-11).It is: http://cran.r-project.org/bin/windows/contrib/2.0/lattice_0.10-11.zip Where do you look, maybe a mirror that is not completely up to date? See also http://cran.r-project.org/bin/windows/contrib/checkSummaryWin.html Uwe Ligges> Is there any solution to this? > > Many thanks and best regards, > > Stefan > > [[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
On Wed, 6 Oct 2004 stefan.albrecht at allianz.com wrote:> I am trying to install packages with the new R 2.0.0. However forOn Windows, not mentioned! Probably a pre-compiled binary, not mentioned.> several packages, like MASS, lattice or R2HTML, I get an error like: > > > library(lattice) > Error in library(lattice) : 'lattice' is not a valid package -- > installed < 2.0.0? > > > > However, I have just downloaded the latest versions from CRAN. > > As far as lattice is concerned, it seems that the Windows binary is > not the latest version of lattice (0.9-16 vs. 0.10-11).You must be looking in the wrong place: http://cran.r-project.org/bin/windows/contrib/2.0/ has 0.10-11. Something you have done has overwritten the versions of packages for 2.0.0 by those for 1.9.x. There is currently no Windows binary version of R2HTML for 2.0.0, as a valid source version was only released this morning.> Is there any solution to this?Undo whatever you did to cause this. Preferably start with a clean directory and reinstall from rw2000.exe. -- Brian D. Ripley, ripley at 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
On Wed, 6 Oct 2004 13:59:32 +0200, stefan.albrecht at allianz.com wrote :> > > > >Dear all, > >I am trying to install packages with the new R 2.0.0. However for >several packages, like MASS, lattice or R2HTML, I get an error like: > >> library(lattice) >Error in library(lattice) : 'lattice' is not a valid package -- >installed < 2.0.0? >> > >However, I have just downloaded the latest versions from CRAN. > >As far as lattice is concerned, it seems that the Windows binary is >not the latest version of lattice (0.9-16 vs. 0.10-11).Sounds as though you have a bad installation, because lattice 0.10-11 *is* the version in the Windows binary. Do you have write permission on the directory where you were installing R? Do you have a .First function or some other way of specifying a non-standard location for the libraries? Duncan Murdoch
stefan.albrecht at allianz.com writes:> Dear all, > > I am trying to install packages with the new R 2.0.0. However for > several packages, like MASS, lattice or R2HTML, I get an error like: > > > library(lattice) > Error in library(lattice) : 'lattice' is not a valid package -- > installed < 2.0.0? > > > > However, I have just downloaded the latest versions from CRAN. > > As far as lattice is concerned, it seems that the Windows binary is > not the latest version of lattice (0.9-16 vs. 0.10-11). > > Is there any solution to this?0.10-11 is the version that SHIPS WITH R! -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
Dear all, thanks a lot for your help. Indeed, I have overloaded the MASS and lattice packages already shipped with R. However, I have followed the web-site at http://cran.at.r-project.org/ and, as it seems, have been directed to an old version of the packages. After a complete reinstallation, it is fine and I just have to wait for the new version of R2HTML. Best regards, Stefan ------------------------------------------------------- Dr. Stefan Albrecht, CFA Allianz Private Equity Partners GmbH Giselastrasse 4 D-80802 Munich, Germany Phone +49.89.38 00 - 18 317 Fax +49.89.38 00 - 818 317 [[alternative HTML version deleted]]
On Wed, 6 Oct 2004 14:38:09 +0200, stefan.albrecht at allianz.com wrote :> > > > >Dear all, > >thanks a lot for your help. > >Indeed, I have overloaded the MASS and lattice packages already >shipped with R. However, I have followed the web-site at >http://cran.at.r-project.org/ >and, as it seems, have been directed to an old version of the >packages.Sounds like a cache somewhere is messing you up. CRAN is listing the correct version of lattice right now, at http://cran.at.r-project.org/src/contrib/Descriptions/lattice.html Duncan Murdoch