[R] lme4 package installation

Thierry Onkelinx thierry.onkelinx at inbo.be
Thu Aug 13 17:09:21 CEST 2015


Have you trying installing it directly from CRAN?

install.packages("lme4")

Do you have all dependencies installed? install.packages() from CRAN will
take care of that. You repos = NULL you have to install all dependencies
manually.

ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium

To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey

2015-08-13 16:13 GMT+02:00 <aurora.gonzalez op openmailbox.org>:

> Hello
>
> I've downloaded the tar.gz file of the package "lme4" and when I use the
> coomand:
>
> install.packages("lme4_1.1-8.tar.gz", repos = NULL, type = "source")
>
> appears an error that suspends the installation:
>
>
> In file included from external.cpp:8:0:
> predModule.h:12:23: fatal error: RcppEigen.h: No such file or directory
> compilation terminated.
> make: *** [external.o] Error 1
> ERROR: compilation failed for package ‘lme4’
> * removing ‘/home/aurora/R/x86_64-pc-linux-gnu-library/3.2/lme4’
>
>
>
> Does anyone know how to fix it? Thank you very much!
>
>
> My sessionInfo:
>
>
> R version 3.2.1 (2015-06-18)
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Ubuntu precise (12.04.5 LTS)
>
> locale:
>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
>  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
>  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
>  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
>  [9] LC_ADDRESS=C               LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods
> [7] base
>
> loaded via a namespace (and not attached):
> [1] tools_3.2.1
>
> ______________________________________________
> R-help op r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

	[[alternative HTML version deleted]]



More information about the R-help mailing list