[R] Lattice: no grid name space

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Oct 27 11:19:55 CET 2003


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




More information about the R-help mailing list