I have tried multiple different versions and get different errors every time. For example, when try to install minfi on 4.1.3 I get the following error.
installing to /cloud/lib/x86_64-pc-linux-gnu-library/4.1/00LOCK-genefilter/00new/genefilter/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (genefilter)
* installing *source* package ‘GenomicFeatures’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Killed
ERROR: lazy loading failed for package ‘GenomicFeatures’
* removing ‘/cloud/lib/x86_64-pc-linux-gnu-library/4.1/GenomicFeatures’
ERROR: dependency ‘GenomicFeatures’ is not available for package ‘bumphunter’
* removing ‘/cloud/lib/x86_64-pc-linux-gnu-library/4.1/bumphunter’
ERROR: dependency ‘bumphunter’ is not available for package ‘minfi’
* removing ‘/cloud/lib/x86_64-pc-linux-gnu-library/4.1/minfi’
The downloaded source packages are in
‘/tmp/RtmpgZwi0s/downloaded_packages’
Installation paths not writeable, unable to update packages
path: /opt/R/4.1.3/lib/R/library
packages:
cluster, MASS, Matrix, mgcv, nlme, survival
Warning messages:
1: In install.packages(...) :
installation of package ‘GenomicFeatures’ had non-zero exit status
2: In install.packages(...) :
installation of package ‘bumphunter’ had non-zero exit status
3: In install.packages(...) :
installation of package ‘minfi’ had non-zero exit status
When I try on 4.2.0 I get this error
installing to /cloud/lib/x86_64-pc-linux-gnu-library/4.2/00LOCK-rtracklayer/00new/rtracklayer/libs
** R
** data
** demo
** inst
** byte-compile and prepare package for lazy loading
Killed
ERROR: lazy loading failed for package ‘rtracklayer’
* removing ‘/cloud/lib/x86_64-pc-linux-gnu-library/4.2/rtracklayer’
The downloaded source packages are in
‘/tmp/RtmpCru8my/downloaded_packages’
Installation paths not writeable, unable to update packages
path: /opt/R/4.2.0/lib/R/library
packages:
MASS, nlme, survival
Warning message:
In install.packages(...) :
installation of package ‘rtracklayer’ had non-zero exit status
I am using the free tier of R Studio cloud but am not seeing any RAM issues. I literally start a new workspace/project. And run the following code:
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(version = "3.15") # or 3.13 for R version 4.1
BiocManager::install("minfi")
And I just cant get it to work. Does anyone know what is going on? Thank you!