[R] lme4 package installation

aurora.gonzalez at openmailbox.org aurora.gonzalez at openmailbox.org
Thu Aug 13 16:13:32 CEST 2015


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



More information about the R-help mailing list