[R] How to install package meta on Linux Ubuntu 21?

Luigi Marongiu m@rong|u@|u|g| @end|ng |rom gm@||@com
Wed Sep 29 15:46:52 CEST 2021


Hello
I have R version 4.1.1 (2021-08-10) -- "Kick Things", on an Ubuntu 21
machine. I am trying to install the package meta but I get the
following error:
```
...
ERROR: dependency ‘RcppEigen’ is not available for package ‘lme4’
* removing ‘/home/gigiux/R/x86_64-pc-linux-gnu-library/4.1/lme4’
Warning in install.packages :
  installation of package ‘lme4’ had non-zero exit status
ERROR: dependency ‘lme4’ is not available for package ‘meta’
```
I tried to install RcppEigen but:
```
...
/usr/bin/ld: cannot find -llapack
/usr/bin/ld: cannot find -lblas
/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
make: *** [/usr/share/R/share/make/shlib.mk:10: RcppEigen.so] Error 1
ERROR: compilation failed for package ‘RcppEigen’
* removing ‘/home/gigiux/R/x86_64-pc-linux-gnu-library/4.1/RcppEigen’
Warning in install.packages :
  installation of package ‘RcppEigen’ had non-zero exit status
```
and lme4 requires RcppEigen.
I launched
`$ sudo apt-get install r-cran-rcppeigen`
installation successful but I got the same error in installing RcppEigen.
What could be the error?
-- 
Best regards,
Luigi



More information about the R-help mailing list