[R] Holt-Winters code in R or S?

Timothy H. Keitt Timothy.Keitt at sunysb.edu
Fri Feb 23 16:00:47 CET 2001


I agree, packaging saves time, and the packaging tools are great.  The 
hard part is getting impatient people (all of us :-) past the first 15 
minutes to an hour of poking through the documentation, figuring out 
library paths, Rd format, etc.  If you've done it, you know its not very 
hard and the documentation is quite good.  However, I wonder if we 
couldn't get more people to contribute packages if we had a 
"create.package.skel()" command (and equivalent "R CMD" method) which 
would basically copy a package template to a local directory and echo 
some hints about how to install the package in a local library path and 
get R to search the local path.  The template needs commented examples 
for all the key files and "README.skel" files in each directory.  I find 
with examples, I can get going really quickly.

Tim

Robert Gentleman wrote:

> I just want to echo Peter's comments. The package facility in R is an
> extremely useful tool. Not only does it provide one command
> compatibility checks (once you have built it). But it also allows you
> to work on your package and test that the new changes have not altered
> the its ability to handle the previous examples.
>   I strongly encourage anyone thinking of distributing R code to wrap
>   it up in a package. It will save you time.


-- 
Timothy H. Keitt
Department of Ecology and Evolution
State University of New York at Stony Brook
Phone: 631-632-1101, FAX: 631-632-7626
http://life.bio.sunysb.edu/ee/keitt/

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