Tutorial on creating dynamic documents, focused on R
This tutorial covers:
- Embedding R and bash (and Python) code in Markdown using Rmarkdown
- Embedding R and bash (and Python) code in Latex using knitr and Sweave
- Embedding R and bash (and Python) code in the LyX GUI for Latex using knitr and Sweave
It also illustrates some work-arounds to the common problem of lines of code or code output running off the right side of the page.
Included in this repository are template documents for the various modalities described above.
The tutorial is illustrated in the context of the BCE virtual machine.