Bioconductor installation
1
0
Entering edit mode
Akhil • 0
@f0af352c
Last seen 3 months ago
India

I am trying to install the bioconductor but i am encounter with this problem. Please suggest for solution

> if (!require("BiocManager", quietly = TRUE))
+   install.packages("BiocManager")
Bioconductor version 3.18 (BiocManager 1.30.22), R 4.3.2 (2023-10-31)
> BiocManager::install()
'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories",
package = "BiocManager")' for details.
Replacement repositories:
    CRAN: https://cloud.r-project.org
Bioconductor version 3.18 (BiocManager 1.30.22), R 4.3.2 (2023-10-31)
Installation paths not writeable, unable to update packages
  path: /usr/lib/R/library
  packages:
    boot, Matrix, nlme, spatial
Bioconductor • 705 views
ADD COMMENT
0
Entering edit mode

The /usr/lib directory requires special privileges to make any changes. Likely R was installed with root , so if you do not have root or sudo privileges, you won't be able to make any modifications to files in that location. These are recommended packages that come with R, you should be able to still install other Bioconductor packages in a user defined location that can install and be updated. Do you get an ERROR trying to install a specific package?

ADD REPLY
0
Entering edit mode

I am getting this error in installing every package rather from CRAN repository

ADD REPLY
0
Entering edit mode

BiocManager::valid() ## R version 3.5 or later 'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories", package = "BiocManager")' for details. Replacement repositories: CRAN: https://cloud.r-project.org [1] TRUE

ADD REPLY
0
Entering edit mode

Please google Installation paths not writeable, unable to update packages R. The first link on StackOverflow will tell you how to deal with it. Essentially, you need to tell R to which directory it shall write your packages and it must be one that you have write access to.

ADD REPLY

Login before adding your answer.

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