Hi everyone,
I have been trying to practice single cell analysis using R, and I realized that most of my time goes to installing packages using BiocManager::install or install.packages. A single package can take as long as 45 minutes.
I am using an HPC to do this. When I've tried using mamba install to install packages, I always run into the error:
EnvironmentNotWritableError: The current user does not have write permissions to the target environment.
Does anyone else know how to quickly install R packages on an HPC, or a way around this "not writable" error?
Thank you.
I have no idea if they have some environment manager like
conda
. but I usually make a specific path for R packages for each project,setting this every time you want to install the R packages or import the packages, then it is not violate the admin's R lib.
There is some additional detail in https://services.dartmouth.edu/TDClient/1806/Portal/KB/ArticleDet?ID=141373
While using a personal library to install R-packages, as mentioned by others, is likely the solution for this issue, you will likely run into cases where you may need to switch R versions, compile packages etc. Above doc should be helpful with that.