[R] adding / modifiying functions in a site-library package ????

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Jan 27 13:24:22 CET 2010



On 27.01.2010 03:40, David Lubbers wrote:
> I want to add just one more function to an already installed, locally
> developed site-library package.  Is there a good tutorial on this laying
> about?  From what I see the new function would touch several files and
> directories in the existing package.  Tools to automate that ?


Yes:

1. change in the source package, let's call it "pkg"
2. R CMD build pkg
3. R CMD INSTALL --library=yourLibrary pkg_version.tar.gz

you might want to check the package in step 2a.

Best wishes,
Uwe Ligges







> ______________________________________________
> 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