[R] Lattice problems / cannot load lattice

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue May 6 12:08:28 CEST 2008


Try installing again by

install.packages("lattice", .Library)

(from an account with suitable privileges).

If that still fails, we need to see the output produced during 
installation.

On Tue, 6 May 2008, K. Elo wrote:

> Hi,
>
> My problem is simple: since having updated the lattice package, I cannot
> load lattice anymore. If I type in the command 'library(lattice)' the
> loading fails with the following message:
>
> --- cut here ---
> Error in library.dynam(lib, package, package.lib) :
>  shared library 'lattice' not found
> In addition: Warning messages:
> 1: In loadNamespace(package, c(which.lib.loc, lib.loc), keep.source =
> keep.source) :
>  package 'lattice' contains no R code
> 2: S3
> methods ‘[.shingle’, ‘as.data.frame.shingle’, ‘plot.shingle’, ‘print.shingle’, ‘summary.shingle’, ‘as.character.shingleLevel’, ‘print.shingleLevel’, ‘print.trellis’, ‘plot.trellis’, ‘update.trellis’, ‘dim.trellis’, ‘dimnames.trellis’, ‘dimnames<-.trellis’, ‘[.trellis’, ‘t.trellis’, ‘summary.trellis’, ‘print.summary.trellis’, ‘barchart.formula’, ‘barchart.array’, ‘barchart.default’, ‘barchart.matrix’, ‘barchart.numeric’, ‘barchart.table’, ‘bwplot.formula’, ‘bwplot.numeric’, ‘densityplot.formula’, ‘densityplot.numeric’, ‘dotplot.formula’, ‘dotplot.array’, ‘dotplot.default’, ‘dotplot.matrix’, ‘dotplot.numeric’, ‘dotplot.table’, ‘histogram.formula’, ‘histogram.factor’, ‘histogram.numeric’, ‘qqmath.formula’, ‘qqmath.numeric’, ‘stripplot.formula’, ‘stripplot.numeric’, ‘qq.formula’, ‘xyplot.formula’, ‘levelplot.f!
 ormula’,
> [... truncated]
> Error: package/namespace load failed for 'lattice'
> --- cut here ---
>
> R-System info:
> arch           x86_64
> os             linux-gnu
> system         x86_64, linux-gnu
> status
> major          2
> minor          7.0
> year           2008
> month          04
> day            22
> svn rev        45424
> language       R
> version.string R version 2.7.0 (2008-04-22)
>
> Any hints? Any ideas?
>
> Thanks in advance,
> Kimmo
> ______________________________________________
> R-help at r-project.org 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.
>

-- 
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