I am trying to install the "rpud" package from the bioconductor:
source("http://bioconductor.org/biocLite.R")
biocLite("rpud")
This executed normally, but then lists several old package dependences, and asks me if I want to update them:
Update all/some/none? [a/s/n]:
Since I am submitting this to a cluster, I will not be able to respond to this prompt. Is there any way to write my script so that it responds "a" to this prompt?
Furthermore, if I respond "a" to the above prompt, I recieve ANOTHER prompt:
Warning in install.packages(update[instlib == l, "Package"], l, contriburl = contriburl, :
'lib = "/opt/linux/centos/7.x/x86_64/pkgs/R/3.2.0/lib64/R/library"' is not writable
Would you like to use a personal library instead? (y/n)
I also want to response "y" to this.
Thanks!