Install Bioconductor package locally/temporarily
1
0
Entering edit mode
ariel ▴ 20
@ariel-16886
Last seen 2.9 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.5k views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 3 months 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. 

ADD COMMENT

Login before adding your answer.

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