unable to install ggtree in R version 4.0.5

2.8k Views Asked by At

I tried to install ggtree by using command >BiocManager::install("ggtree") but in the end in am getting error >Installation paths not writeable, unable to update packages path: C:/Program Files/R/R-4.0.5/library packages: boot, class, cluster, KernSmooth, lattice, MASS, Matrix, mgcv, nnet, spatial, survival Old packages: 'cachem', 'stringi', 'tibble', 'xfun' Update all/some/none? [a/s/n]:

1

There are 1 best solutions below

3
On

Try the following:

First install rlang install.packages("rlang")

Then

Bioconductor version

library(BiocManager)
BiocManager::install("ggtree")