On 10.03.2010 23:45, Raphael Aggio wrote:
Hi,

I developed a package that requires 5 other packages. I was wondering if
anyone knows how can I automatically download and install the required
packages during the installation of my new package. My idea is to make this
process easier to the final user.

All the required packages are under bioconductor source but I don't know
where I can include the code to download and install them.

Manually, I generally use the code:

source("http//bioconductor.org/biocLite.R")
biocLite(c("packageA", "packageB"...etc))

Any idea?



No idea about biocLite. Youn may want to ask ion the BioC lists for help on that one.

Anyway, for those of us using imnstall.packages():

install.packages("yourPackage", dependencies=TRUE)

See ?install.packages

Best,
Uwe Ligges




Thank you.



______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to