Open mbr085 opened 6 years ago
Hi, I've now managed to install most of the packages, but still having issues installing SPADE. Upon trying, this is the error message I get:
devtools::install_github("nolanlab/spade") Downloading GitHub repo nolanlab/spade@master from URL https://api.github.com/repos/nolanlab/spade/zipball/master Installing spade '/usr/local/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \ '/tmp/Rtmpz1qFAf/devtools129382aab59/nolanlab-spade-356955f' \ --library='/usr/local/lib/R/site-library' --install-tests
ERROR: failed to lock directory ‘/usr/local/lib/R/site-library’ for modifying Try removing ‘/usr/local/lib/R/site-library/00LOCK-nolanlab-spade-356955f’ Installation failed: Command failed (3)
I am unable to find the directory referred to, thus I can't remove it. Have you managed to install SPADE in docker?
Miriam
I have seen this error message before (not inside docker). After finding the directory specified and deleted it, everything worked fine. But I don't know what to do if you can't find the directory.
I have struggled with the installation of packages. Some don't work for me. What works for me is the following:
If I want to use my previous installation I jump directly to 7.
Install docker on my machine
Run the bioconductor/devel_base2 docker image:
docker run -p 8787:8787 bioconductor/devel_base2
Point my browser to the running rstudio server and log in with user: rstudio and password:rstudio
Install packages with this script:
docker commit dazzling_curie bioc
(The name dazzling_curie changes)
Stop the running container by hitting CTRL-C in the terminal I used in 2.
Test my new image by running it:
docker run -p 8787:8787 bioc
(or just run the version I have uploaded to dockerhub by runningdocker run -p 8787:8787 mbr085/dockerflow:version1.0
) and pointing my browser to the running rstudio server and logging in with user: rstudio and password:rstudioEvery time when I have been working with rstudio I save the changes by repeating step 5.