Hi,
I am sorry to post 3 different errors/issues in a single post but I assume this would be more time-saving. I installed R and RStudio on a remote server to run R script that requires a higher memory space and I need to install a bunch of R packages for microbiome analyses.
The first package is devtools where I got this error:
ERROR: configuration failed for package ‘xml2’
- removing ‘/home/eman/R/x86_64-pc-linux-gnu-library/4.3/xml2’
Warning in install.packages :
installation of package ‘xml2’ had non-zero exit status
ERROR: dependency ‘textshaping’ is not available for package ‘ragg’ - removing ‘/home/eman/R/x86_64-pc-linux-gnu-library/4.3/ragg’
Warning in install.packages :
installation of package ‘ragg’ had non-zero exit status
ERROR: dependency ‘xml2’ is not available for package ‘roxygen2’ - removing ‘/home/eman/R/x86_64-pc-linux-gnu-library/4.3/roxygen2’
Warning in install.packages :
installation of package ‘roxygen2’ had non-zero exit status
ERROR: dependency ‘xml2’ is not available for package ‘rversions’ - removing ‘/home/eman/R/x86_64-pc-linux-gnu-library/4.3/rversions’
Warning in install.packages :
installation of package ‘rversions’ had non-zero exit status
ERROR: dependency ‘xml2’ is not available for package ‘urlchecker’ - removing ‘/home/eman/R/x86_64-pc-linux-gnu-library/4.3/urlchecker’
Warning in install.packages :
installation of package ‘urlchecker’ had non-zero exit status
ERROR: dependencies ‘ragg’, ‘xml2’ are not available for package ‘pkgdown’ - removing ‘/home/eman/R/x86_64-pc-linux-gnu-library/4.3/pkgdown’
Warning in install.packages :
installation of package ‘pkgdown’ had non-zero exit status
ERROR: dependencies ‘pkgdown’, ‘roxygen2’, ‘rversions’, ‘urlchecker’ are not available for package ‘devtools’ - removing ‘/home/eman/R/x86_64-pc-linux-gnu-library/4.3/devtools’
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpJuYrbk/downloaded_packages’
The second is phyloseq using BiocManager::install("phyloseq")
, I got this error:
/bin/ld: cannot find -llapack
/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
make: *** [/usr/share/R/share/make/shlib.mk:10: vegan.so] Error 1
ERROR: compilation failed for package ‘vegan’
- removing ‘/home/eman/R/x86_64-pc-linux-gnu-library/4.3/vegan’
ERROR: dependency ‘RcppArmadillo’ is not available for package ‘ade4’ - removing ‘/home/eman/R/x86_64-pc-linux-gnu-library/4.3/ade4’
ERROR: dependencies ‘ade4’, ‘ape’, ‘igraph’, ‘vegan’ are not available for package ‘phyloseq’ - removing ‘/home/eman/R/x86_64-pc-linux-gnu-library/4.3/phyloseq’
The downloaded source packages are in
‘/tmp/RtmpJuYrbk/downloaded_packages’
Installation paths not writeable, unable to update packages
path: /usr/lib/R/library
packages:
boot, foreign, Matrix, nlme, spatial, survival
path: /usr/local/lib/R/site-library
packages:
modeest
Warning messages:
1: In install.packages(...) :
installation of package ‘RcppArmadillo’ had non-zero exit status
2: In install.packages(...) :
installation of package ‘ape’ had non-zero exit status
3: In install.packages(...) :
installation of package ‘igraph’ had non-zero exit status
4: In install.packages(...) :
installation of package ‘vegan’ had non-zero exit status
5: In install.packages(...) :
installation of package ‘ade4’ had non-zero exit status
6: In install.packages(...) :
installation of package ‘phyloseq’ had non-zero exit status
Then DECIPHER using BiocManager::install("DECIPHER")
installing to /home/eman/R/x86_64-pc-linux-gnu-library/4.3/00LOCK-DECIPHER/00new/DECIPHER/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
- DONE (DECIPHER)
The downloaded source packages are in
‘/tmp/RtmpJuYrbk/downloaded_packages’
Installation paths not writeable, unable to update packages
path: /usr/lib/R/library
packages:
boot, foreign, Matrix, nlme, spatial, survival
path: /usr/local/lib/R/site-library
packages:
modeest
Thanks for your support!