The following now occurs to me when I try to load lattice (R 1.7.1, debian stable):> library(lattice)Error in loadNamespace(i, c(lib.loc, .libPaths()), keep.source) : package `grid' does not have a name space Error in library(lattice) : package/namespace load failed I did an update.packages() as root recently. Any idea what's wrong? -- Edzer
Edzer J. Pebesma wrote:> The following now occurs to me when I try to > load lattice (R 1.7.1, debian stable): > >> library(lattice) > > Error in loadNamespace(i, c(lib.loc, .libPaths()), keep.source) : > package `grid' does not have a name space > Error in library(lattice) : package/namespace load failed > > I did an update.packages() as root recently. > Any idea what's wrong? > -- > EdzerYes. You got a version of lattice that is supposed to work with the grid version shipped with R-1.8.0 (and that one has got a namespace). Uwe Ligges
On Mon, 27 Oct 2003, Edzer J. Pebesma wrote:> The following now occurs to me when I try to > load lattice (R 1.7.1, debian stable): > > > library(lattice) > Error in loadNamespace(i, c(lib.loc, .libPaths()), keep.source) : > package `grid' does not have a name space > Error in library(lattice) : package/namespace load failed > > I did an update.packages() as root recently. > Any idea what's wrong?Yes, the current lattice requires 1.8.0. Its Depends line is Depends: R (>= 1.7.0), grid (>= 1.8.0), modreg but only versions of R are checked by INSTALL (and that should be R (>=1.8.0) as grid is no longer available separately from R). Time to upgrade to R 1.8.0? If not, you need to find lattice_0.7.x in CRAN's Archive section. -- 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
>>>>> "Edzer" == Edzer J Pebesma <e.pebesma at geog.uu.nl> >>>>> on Mon, 27 Oct 2003 10:56:57 +0100 writes:Edzer> The following now occurs to me when I try to load Edzer> lattice (R 1.7.1, debian stable): >> library(lattice) Edzer> Error in loadNamespace(i, c(lib.loc, .libPaths()), Edzer> keep.source) : package `grid' does not have a name Edzer> space Error in library(lattice) : package/namespace Edzer> load failed Edzer> I did an update.packages() as root recently. Any Edzer> idea what's wrong? -- Edzer I guess you have a too recent version of lattice for your "old" version of R.
Apparently Analagous Threads
- [FORGED] Re: plotmath degree symbol
- [R-sig-Geo] plot() and Jpeg() increase font size and resolution
- plotmath degree symbol
- cumsum method in Math group
- Understanding why "no metadata object found ... not exported?" warnings from the methods package exist, and what they mean