The following commands
install.packages("BiocManager", repos = "https://cran.r-project.org") BiocManager::install("BSgenome")
lead eventually to
** byte-compile and prepare package for lazy loading Killed ERROR: lazy loading failed for package
I guess the problem is that memory is exhausted. Is there any workaround?
In context, I'm offering an ad hoc course, one of the participants opted to use rstudio.cloud, we're getting to the end of the course (week 5!), and exploring Bioconductor.
The instructions above (install CRAN package BiocManager, use BiocManager to install appropriately versioned BIoconductor packages) is the standard Bioconductor package installation procedure. BSgenome is a fairly important package, and it's failure to install means its 375 reverse dependencies also don't install.
A partial workaround is to use the
INSTALL_opts = "--no-byte-compile" of
BiocManager::install(), but a second package then fails to install in a way that I have not been able to work around
> BiocManager::install("VariantAnnotation") ... ** preparing package for lazy loading Killed ERROR: lazy loading failed for package ‘VariantAnnotation’
Or perhaps this is really just telling me that I've reached the limit of rstudio.cloud use at the free tier?