[R] programming conventions

Brian D Ripley ripley at stats.ox.ac.uk
Fri Apr 1 05:39:31 CEST 2005


On Thu, 31 Mar 2005, Sebastian Luque wrote:

> I'm trying to make my R scripts more readable by others, so I searched for
> some R programming conventions and found the following two:
>
> - http://www.ci.tuwien.ac.at/Conferences/useR-2004/Keynotes/Maechler.pdf
> - http://www.maths.lth.se/help/R/RCC
>
> the latter being quite extensive. Are there some other sources that might
> be useful?

`Writing R Extensions'.

Layout is by far the most common cause of hard-to-read code.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list