Install Bioconductor package locally/temporarily
1
0
Entering edit mode
ariel • 0
@ariel-16886
Last seen 19 months ago

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 • 471 views
0
Entering edit mode
@martin-morgan-1513
Last seen 10 weeks 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.