https://community.rstudio.com/t/biobase-not-available-for-r-version-3-5-1/17761
ΔBiobase not available for R version 3.5.1
should first install the BiocManager package
install.packages(“BiocManager”)
BiocManager::install(“phyloseq”, version = “3.8”)
Δchecking whether pkg-config knows about cairo… no
Cannot find cairo.h!
you need the cario dev files
apt-get install libcairo2-dev
I also needed to install the following
apt-get install libxt-dev
Δ设置 Bioconductor 镜像,加快安装速度
source(“http://bioconductor.org/biocLite.R“) 之后,输入 chooseBioCmirror()
▲installation path not writable R, unable to update packages
It was a permission issue for me. First, I identified where the packages were installed using installed.packages()[, c(“Package”, “LibPath”)]. This outputs a long 2 column matrix with the names and locations of the packages. Then you will see where the offending packages are. In my case, they were at /usr/lib/R/site-library and /usr/lib/R/library. Then I changed the permission of these folders by chmod (I used chmod -R 777 on the main R folder, this is my personal computer, so security is not a big concern here I think).