Automatically update R installation

Here is how to have R automatically update all installed packages

update.packages()

For BioConductor packages, the update is a bit more involved

source("https://bioconductor.org/biocLite.R")
biocLite()

It might ask to first install the latest R version, that supports the latest BioConductor. In this case all bioconductor packages need to be reinstalled (example for “packageName”)

biocLite(“packageName”)
Back

Automatically update R installation

Here is how to have R automatically update all installed packages

update.packages() 

For BioConductor packages, the update is a bit more involved

source("https://bioconductor.org/biocLite.R")
biocLite()

It might ask to first install the latest R version, that supports the latest BioConductor. In this case all bioconductor packages need to be reinstalled (example for “packageName”).

biocLite(“packageName”)
Back

Category:
Tag: