useR! 2014 -- Martin Mächler - Good Practices in R Programming

Abstract

At the first useR! meeting in Vienna in 2004, I had presented seven guidelines for good R programming practice I called "rules". Revisiting, I will ask how much has changed - or not. Namespaces have brought even more justification for emphasizing functions as the main ingredients of much of good R code. We have more and better tools for reproducible research and data analysis nowadays, and I'll touch on some consequences I see for useR's code organization. As some of it has been my specialty within R Core, we'll also look into some aspects of a generalized FAQ 7.31 and what every programmeR should know about computer arithmetic.

Slides :

File nameSizeDescription
Maechler-2014-pr.pdf347135static slides
Maechler-2014-4.pdf6929634 up letter (US)
Maechler-2014-4a4.pdf3628974 up A4 (world standard)

Sweave Snippets used

File nameSizeDescription
use_the_source.Rnw743.. the source, Luke!
who_there.Rnw445Easter egg
sqrt2.Rnw117FAQ 7.31 - sqrt(2)
cospi-ex.Rnw101cospi()
log1p-ex.Rnw1865log1p(x) vs log(1+x)
log1mexp-short.Rnw3095intro to log1mexp()

Date: 2014-07-02 14:36:17 PDT

Author: Martin Maechler

Org version 7.8.11 with Emacs version 23

Validate XHTML 1.0