Re: [R] Lattice problems / cannot load lattice

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue, 06 May 2008 11:08:28 +0100 (BST)

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


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

Received on Tue 06 May 2008 - 10:14:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 06 May 2008 - 11:30:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive