My recently accepted and revised paper (Code Snippet) Using GNU Make to Manage the Workflow of Data Analysis Projects is now in the publication queue at the Journal of Statistical Software. A final draft version, which is subject to change, may be dowloaded here.

The article describes GNU Make pattern rules for R, Sweave, R Markdown, SAS, Stata, Perl and Python to streamline management of data analysis and reporting projects. Rules are used by adding a single line to project Makefiles. Additional flexibility is available for modifying standard program options. An overall strategy is outlined for Makefile construction and illustrated via simple and complex examples.

The GNU Makefile rules described in the paper may be found at https://github.com/petebaker/r-makefile-definitions