[R] Unable to load package:lme4 [ Ubuntu 9.04 ]

Girish A.R. garamach at gmail.com
Wed Jun 10 11:06:57 CEST 2009


Hi Martin,

I upgraded to R 2.9.0, but still have the same problem. The error
message, output of packageDescription("lme4"), and sessionInfo() are
displayed below.

Thanks,
-Girish

--------------------------------------------------------------
> library(lme4)
Loading required package: Matrix
Loading required package: lattice

Attaching package: 'Matrix'

	The following object(s) are masked from package:stats :

	 xtabs

	The following object(s) are masked from package:base :

	 rcond

Error in dyn.load(file, DLLpath = DLLpath, ...) :
  function 'cholmod_start' not provided by package 'Matrix'
Error: package/namespace load failed for 'lme4'

----------------------------------------------------------------

> packageDescription("lme4")
Package: lme4
Version: 0.999375-28
Date: 2008-12-13
Title: Linear mixed-effects models using S4 classes
Author: Douglas Bates <bates at stat.wisc.edu>, Martin Maechler
        <maechler at R-project.org> and Bin Dai <dai at stat.wisc.edu>
Maintainer: Douglas Bates <bates at stat.wisc.edu>
Description: Fit linear and generalized linear mixed-effects models.
Depends: methods, R(>= 2.7.0), Matrix(>= 0.999375-11), lattice
LinkingTo: Matrix, stats
Imports: graphics, stats
Suggests: mlmRev, MEMSS
LazyLoad: yes
LazyData: yes
License: GPL (>=2)
URL: http://lme4.r-forge.r-project.org/
Packaged: Sat Dec 13 20:07:38 2008; maechler
Built: R 2.8.0; x86_64-pc-linux-gnu; 2008-12-15 13:58:54; unix

-- File: /usr/lib/R/site-library/lme4/Meta/package.rds
------------------------------------------------------------------------
> sessionInfo()
R version 2.9.0 (2009-04-17)
x86_64-pc-linux-gnu

locale:
LC_CTYPE=en_IN;LC_NUMERIC=C;LC_TIME=en_IN;LC_COLLATE=en_IN;LC_MONETARY=C;LC_MESSAGES=en_IN;LC_PAPER=en_IN;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_IN;LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods
base

other attached packages:
[1] Matrix_0.999375-27 lattice_0.17-25

loaded via a namespace (and not attached):
[1] grid_2.9.0

==============================================================================================

On Jun 10, 1:43 pm, Martin Maechler <maech... at stat.math.ethz.ch>
wrote:

> How did you re-install Matrix?
> Your version   Matrix_0.999375-17  (indicated below)
> is a bit old, and indeed probably too old for the version of
> lme4 you've tried.
> Can you call
>     packageDescription("lme4")
> without an error {probably not}, or at least
>
>     library(help = "lme4")
>
> the output of these would show you the version of Matrix you
> need at least.
>
> Ideally you'd upgrade your version of R (to 2.9.0) as well,
> since the latest couple of versions of Matrix all have
> "R >= 2.9.0" in their dependency requirements.
>
> Regards,
> Martin Maechler




More information about the R-help mailing list