knitr in a knutshell a minimal tutorial
knitr is a really important tool for reproducible research. You create documents that are a mixture of text and code; when processed through knitr, the code is replaced by the results and/or figures produced.
Yihui Xie, the developer of knitr, has written clear and thorough documentation, many useful examples and demos, and a very nice book. Nevertheless, I thought it might be useful to have some of the basic things explained again a bit differently.
- knitr with R Markdown
- Figures and tables
- Comments on reproducibility
- knitr with AsciiDoc
- knitr with LaTeX
- Moving from Sweave to knitr
If you find knitr useful, consider buying R Markdown: The Definitive Guide by Yihui Xie, JJ Allaire, and Garrett Grolemund.