I would like to run the above mentioned project in RStudio Cloud. I can run it on my machine, but not on the cloud. I think the error has to do with running out of memory compiling some packages(RCppEigen being 1). Can someone help me figure this out? Here are the directions I am following from the website.
# Installation instructions:
# 1. Install DEBrowser and its dependencies by running the lines below
# in R or RStudio.
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install("debrowser")
# 2. Load the library
library(debrowser)
# 3. Start DEBrowser
startDEBrowser()
For packages hosted on CRAN, we provide a package cache mechanism for rstudio.cloud to help out with packages that require a lot of memory when building from source (keeping in mind that during this phase of our product we limit sessions to 1GB memory). Unfortunately, we do not have such a feature for bioconductor packages.
If the problem is related only to RcppEigen failing to build, it now appears to be cached for R 3.6.0 so please try to install again. If there is a bioconductor package that is failing on out-of-memory-like conditions, there isn't much help we can offer at this time. Perhaps you could try installing all of the dependent packages first, restart your session (to clear the memory utilization) and then install just the single bioconductor package that is problematic?
I am new to RStudioCloud so I am not sure I am doing exactly what you suggested. I did try to install RcppEigen on its own using the below commands and response. I did this by going to Tools->InstallPackages Is there a different way to do this that gets the cached copy? Also, what do you mean by restart my session, logout and then back in?
install.packages("RcppEigen")
Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
also installing the dependency ‘Rcpp’
removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/RcppEigen’
Warning in install.packages :
installation of package ‘RcppEigen’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmpauno2H/downloaded_packages’