This tutorial is about the Unix tool GNU Make, and how to write Makefiles with an emphasis on automating workflows in data analysis projects, and creating dynamic documents.
The material expands on Chris Paciorek's tutorial-make-flows
Examples:
- Markdown to HTML using pandoc
- R script with input data file and
- Standalone R script (minimal regression analysis and plots)
- Generating pdf document from LaTex files
- Generating pdf document from Rnw file
- Generating html document from Rmd file
- Generating pdf document from Rmd file
- Minimal Dynamic Document (R code, plots, tables)
Tutorial Make Workflows (by Berkeley SCF) https://github.com/berkeley-scf/tutorial-make-workflows
Why Use Make (by Mike Bostock) https://bost.ocks.org/mike/make/
Makefiles for R/LaTeX projects (by Robert Hyndman) http://robjhyndman.com/hyndsight/makefiles/
Reproducible Research (by Lincoln Mullen) http://lincolnmullen.com/projects/dh-r/reproducible.html
A Simple Makefile Tutorial http://www.cs.colby.edu/maxwell/courses/tutorials/maketutor/
How To Use Makefiles to Automate Repetitive Tasks on an Ubuntu VPS (by Justin Ellingwood) https://www.digitalocean.com/community/tutorials/how-to-use-makefiles-to-automate-repetitive-tasks-on-an-ubuntu-vps
This work is licensed under a Creative Commons Attribution 4.0 International License.
Author: Gaston Sanchez
