Le 26 févr. 2016 à 09:03, Xianrong Wong <wongxr@gmail.com> a écrit :Hi,___________________________________________________________I am trying to package an R script (that requires certain R packages) into a galaxy tool. Any advice would be deeply appreciated!I have tested it on planemo and it works. When I tried the version I uploaded onto the toolshed, I got an error saying that the R packages do not exist. I next added the following lines to the R script:source("https://bioconductor.org/biocLite.R")
biocLite()
biocLite(c("DNAcopy", "preprocessCore"))
and I got the following error when running the installed tool on galaxy:
Installing package(s) ‘DNAcopy’, ‘preprocessCore’ Warning in install.packages(pkgs = doing, lib = lib, ...) : 'lib = "/usr/local/lib/R/site-library"' is not writable Error in install.packages(pkgs = doing, lib = lib, ...) : unable to install packages Calls: biocLite ... .biocLiteInstall -> .reposInstall -> install.packages Execution halted
Please keep all replies on the list by using "reply all"
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at:
http://galaxyproject.org/search/mailinglists/