How can I uninstall my packages in Rstudio
2
2
Entering edit mode
6.9 years ago
hassanlou110 ▴ 40

I want to uninstall Bioconductor affycoretools package and reinstall it, who can help me?

R Bioconductor • 209k views
ADD COMMENT
2
Entering edit mode

You can try to update the already existing package.

ADD REPLY
6
Entering edit mode
6.9 years ago
Mike Smith ★ 2.1k

Remove a package with remove.packages() e.g.

remove.packages("affycoretools")

Affycoretools is a Bioconductor pacakge, so reinstallation needs their install script / the BiocInstaller package e.g.

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

Edit: To install this package, start R (version "4.0") and enter:

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("affycoretools")
ADD COMMENT
2
Entering edit mode
6.9 years ago

Go to the Packages in right bottom corner of Rstudio, sear the package name and click on the adjacent X icon to remove it.

Rstudio Screenshot

Reinstall the package from Bioconductor/CRAN.

##Bioconductor
source("https://bioconductor.org/biocLite.R")
biocLite("affycoretools")
ADD COMMENT

Login before adding your answer.

Traffic: 2354 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6