What are the most important pakages should be installed on the terminal, before begining to install Rstudio?
I always install RStudio immediately after installing R, without installing any additional packages. I have never seen any mention of a need to install packages before installing RStudio. What problem are you encountering?
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
The stackoverflow post linked below should help you solve that. If you have a new computer or operating system, you may run into several of these problems. Searching for the literal message, e.g. "cannot find llapack", usually brings up a solution.
Thanks, that was the solution
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.