Minimal Make - A Minimal Tutorial on Make. Broman, K.
Minimal Make - A Minimal Tutorial on Make [link]Paper  abstract   bibtex   
[Excerpt] I would argue that the most important tool for reproducible research is not Sweave or knitr but GNU make. Consider, for example, all of the files associated with a manuscript. In the simplest case, I would have an R script for each figure plus a LaTeX file for the main text. And then a BibTeX file for the references. Compiling the final PDF is a bit of work: [::] Run each R script through R to produce the relevant figure. [::] Run latex and then bibtex and then latex a couple of more times. And the R scripts need to be run before latex is, and only if they've changed. [GNU make makes this easy] In your directory for the manuscript, you create a text file called Makefile [...] Each batch of lines indicates a file to be created (the target), the files it depends on (the prerequisites), and then a set of commands needed to construct the target from the dependent files. [...] And note that the dependencies propagate.
@article{bromanMinimalMakeMinimal2014,
  title = {Minimal Make - {{A}} Minimal Tutorial on Make},
  author = {Broman, Karl},
  date = {2014},
  url = {http://kbroman.org/minimal_make/},
  abstract = {[Excerpt] I would argue that the most important tool for reproducible research is not Sweave or knitr but GNU make.

Consider, for example, all of the files associated with a manuscript. In the simplest case, I would have an R script for each figure plus a LaTeX file for the main text. And then a BibTeX file for the references.

Compiling the final PDF is a bit of work:

[::] Run each R script through R to produce the relevant figure. [::] Run latex and then bibtex and then latex a couple of more times.

And the R scripts need to be run before latex is, and only if they've changed.

[GNU make makes this easy] In your directory for the manuscript, you create a text file called Makefile [...] Each batch of lines indicates a file to be created (the target), the files it depends on (the prerequisites), and then a set of commands needed to construct the target from the dependent files. [...] And note that the dependencies propagate.},
  keywords = {*imported-from-citeulike-INRMM,~INRMM-MiD:c-13466533,computational-science,free-scientific-knowledge,free-software,gnu-make,knowledge-freedom,reproducible-research}
}
Downloads: 0