[R] easier way to update packages i'm developing?

Thomas Lumley tlumley at u.washington.edu
Fri Jan 18 21:09:52 CET 2002


On Fri, 18 Jan 2002, Jeff D. Hamann wrote:

> I'm frightfully new at developing r packages. I'm developing an econometrics
> package, and each time I update my beta package, I close R, delete the
> package dir in the library dir, rebuild the zip file, rerun R, reinstall the
> package and run the functions. Is there a more efficient way?
>

I think that's the best way if you want to test the whole package. You
don't actually have to quit R -- you can just detach() the package.

You could source individual .R files into R as you modify them, without
rebuilding the package, and then from time to time go through the whole
package-building process for the sake of tidiness.


	-thomas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list