Ian Schiller
2010-Oct-28 19:13 UTC
[R] How do I install (download) a package with my own package?
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]]
Uwe Ligges
2010-Oct-28 19:17 UTC
[R] How do I install (download) a package with my own package?
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.
Seemingly Similar Threads
- Coding C++ in R. What is faster : Using bosst external libraries or R.h header file?
- Calling R functions within C/C++
- R CMD build creates tar file instead of tar.gz file
- no applicable method for "names"
- Antw: How to extract the upper xlim and ylim of my plot?