Creating R Packages: A Tutorial.
In: Brito, Paula (ed.) :
Compstat 2008 - Proceedings in Computational Statistics. Heidelberg, Germany: Physica Verlag
This tutorial gives a practical introduction to creating R packages. We discuss how object oriented programming and S formulas can be used to give R code the usual look and feel, how to start a package from a collection of R functions, and how to test the code once the package has been created. As running example we use functions for standard linear regression analysis which are developed from scratch.