RMarkdown is a tool to integrate writing blocks with "live" R code.
R code is evaluated as part of the processing of the markdown document.
Data, code, and processing can flow in a single document.
Reproducible research through literate statistical programming is the goal:
- An article which is a stream of text and code chunks, weaved to produce a human-readable document and tangled to produce a machine-readable document.
- R code is evaluated when the document is processed and the results are inserted into the document, demonstrating functional code and reproducible results.