John Woodard
2017-Oct-21 17:54 UTC
[R-sig-Debian] Problem when installing lme4 under Debian stretch
I am a new user in the Linux environment and recently encountered an error when trying to install the car package. The error was related to installation of a dependency (lme4). Here is the output from the installation: * installing *source* package ?lme4? ... ** package ?lme4? successfully unpacked and MD5 sums checked ** libs g++ -I/usr/share/R/include -DNDEBUG -I"/usr/local/lib/R/site-library/Rcpp/include" -I"/usr/local/lib/R/site-library/RcppEigen/include" -DNDEBUG -DEIGEN_DONT_VECTORIZE -fpic -g -O2 -fdebug-prefix-map=/root/git/r-backports/stretch/r-base-3.4.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c external.cpp -o external.o In file included from external.cpp:8:0: predModule.h:12:23: fatal error: RcppEigen.h: No such file or directory #include <RcppEigen.h> ^ compilation terminated. /usr/lib/R/etc/Makeconf:168: recipe for target 'external.o' failed make: *** [external.o] Error 1 ERROR: compilation failed for package ?lme4? * removing ?/usr/local/lib/R/site-library/lme4? I am using Raspbian Stretch with a Raspberry Pi. Might someone have a suggestion about how to proceed? Many thanks in advance! John [[alternative HTML version deleted]]
Dirk Eddelbuettel
2017-Oct-21 18:22 UTC
[R-sig-Debian] Problem when installing lme4 under Debian stretch
I would start with the _binary_ package you can install via sudo apt-get install r-cran-car which will take care of all dependecies. Building some of these package on small hardware can be challenging simply due to lack of RAM --- and ditto for minimal cloud instances with small RAM footprint. Use binaries where you can if you hardware cannot cope. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
John Woodard
2017-Oct-21 19:04 UTC
[R-sig-Debian] Problem when installing lme4 under Debian stretch
Thanks very much, Dirk! I gave that a try and got the following: pi at raspberrypi:~ $ sudo apt-get install r-cran-car Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: r-cran-car : Depends: r-api-3 Depends: r-cran-pbkrtest but it is not going to be installed Depends: r-cran-quantreg but it is not going to be installed E: Unable to correct problems, you have held broken packages. Given the message, should I assume that lme4 (and car) cannot be installed on my setup? Many thanks in advance! On Sat, Oct 21, 2017 at 2:22 PM, Dirk Eddelbuettel <edd at debian.org> wrote:> > I would start with the _binary_ package you can install via > > sudo apt-get install r-cran-car > > which will take care of all dependecies. > > Building some of these package on small hardware can be challenging simply > due to lack of RAM --- and ditto for minimal cloud instances with small RAM > footprint. Use binaries where you can if you hardware cannot cope. > > Dirk > > -- > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org >[[alternative HTML version deleted]]