[R] How do I install (download) a package with my own package?

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Oct 28 21:17:57 CEST 2010


See Writing R Extensions:
You can declare dependencies and install.packages(...) and its argument 
"dependencies" can handle automatical installation of dependencies.

Uwe Ligges


On 28.10.2010 21:13, Ian Schiller wrote:
> I want to create my own package in which some of my functions depend on functions already existing in another package that is not part of the default library (i.e. when you install R for the first time, you need to download that package to access the functions.)
>
> Is there a way to bundle this existing package with the package I will create so that one doesn't have to install my package and then the package in which some of my functions depend on?
>
> Thanks!
>
> Ian
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list