Install Bioconductor package locally/temporarily
Entering edit mode
ariel ▴ 20
Last seen 2.6 years ago
United States

It is possible to install regular R packages so that they are deleted after the current session, and better yet, don't touch current packages.

You can use install.packags(destdir="...") as well as other methods

Is there a way to do this with bioconductor packages? I am working on a project that involves a large number of bioconductor packages. I'm running into installation conflicts. The best method I've found is to use a conda environment that gets me all but a two of the packages I need. I'd like to be able to install them without touching the conda environment.

R rstudio package installation • 1.3k views
Entering edit mode
Last seen 7 days ago
United States

use BiocInstaller::biocinstallRepos() to get the correct repositories to be used with standard R package installation commands. (bio)conda expects all packages to be installed by bioconda; if there are packages not available from bioconda or if a recent distribution is important then personally I think your best bet is to forgo using conda. The alternative is I think like Installing ShortRead - error: zlib not found even with zlib in LD_LIBRARY_PATH, where conda-installed system dependencies are not found by standard R installation commands. 


Login before adding your answer.

Traffic: 791 users visited in the last hour
Help About
Access RSS

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

Powered by the version 2.3.6