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

Martin Maechler maechler at stat.math.ethz.ch
Wed Jun 10 10:43:53 CEST 2009


>>>>> "GAR" == Girish A R <garamach at gmail.com>
>>>>>     on Tue, 9 Jun 2009 22:00:01 -0700 (PDT) writes:

    GAR> Hi folks,
    GAR> When I try to load package 'lme4' on my Linux box (64-bit Ubuntu
    GAR> 9.04), I get the following error:

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

    GAR> I removed and re-installed both 'Matrix' and 'lme4', but that doesn't
    GAR> seem to solve the problem. If this is something for the [R-sig-ME]
    GAR> mailing list, please let me know.

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

    GAR> Thanks,

    GAR> -Girish

    GAR> ------------------------------------
    >> sessionInfo()
    GAR> R version 2.8.1 (2008-12-22)
    GAR> x86_64-pc-linux-gnu

    GAR> locale:
    GAR> 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

    GAR> attached base packages:
    GAR> [1] splines   stats     graphics  grDevices utils     datasets
    GAR> methods
    GAR> [8] base

    GAR> other attached packages:
    GAR> [1] Matrix_0.999375-17 lattice_0.17-25    Design_2.2-0
    GAR> survival_2.35-4
    GAR> [5] Hmisc_3.6-0        nlme_3.1-92        car_1.2-14
    GAR> MASS_7.2-47

    GAR> loaded via a namespace (and not attached):
    GAR> [1] cluster_1.12.0 grid_2.8.1     tools_2.8.1

    GAR> ______________________________________________
    GAR> R-help at r-project.org mailing list
    GAR> https://stat.ethz.ch/mailman/listinfo/r-help
    GAR> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
    GAR> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list