Bioconductor will not install on Rstudio
1
0
Entering edit mode
@16aa4fdc
Last seen 2.3 years ago
United States

Rstudio won't let me install Bioconductor and I don't know why.

if (!requireNamespace("BiocManager", quietly = TRUE))

  • install.packages("BiocManager")

    BiocManager::install(version = "3.15")

I use this code and get this:

'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details

replacement repositories: CRAN: https://cran.rstudio.com/

Bioconductor version 3.15 (BiocManager 1.30.18), R 4.2.1 (2022-06-23 ucrt) Installation paths not writeable, unable to update packages path: C:/Program Files/R/R-4.2.1/library packages: MASS, nlme

ALL • 2.3k views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 2 days ago
United States

That is what you should expect on Windows. You have installed BiocManager and apparently installed some other package and are then getting the warning that you cannot update packages in a path for which you lack privileges. When you install R, you do so with admin privileges, and that includes a set of recommended packages (of which MASS and nlme are two examples). You cannot update those packages as a regular user - if you want to, run R as admin and do BiocManager::install() - and in the normal course of things you probably don't need to worry about that, unless you are using either of those two packages.

ADD COMMENT

Login before adding your answer.

Traffic: 804 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