what are important packages – General

I keep getting some errors when trying to get packages, for example, phyloseq package
Seems like something is missing in the system

if(!requireNamespace(“BiocManager”, quietly = TRUE))
install.packages(“BiocManager”)
BiocManager::install(“phyloseq”)

/usr/bin/ld: cannot find -llapack
/usr/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
make: *** [/usr/share/R/share/make/shlib.mk:10: igraph.so] Error 1
ERROR: compilation failed for package ‘igraph’

  • removing ‘/home/alla/R/x86_64-pc-linux-gnu-library/4.2/igraph’
    Warning in install.packages :
    installation of package ‘igraph’ had non-zero exit status

Read more here: Source link