Using the LaTeX listings package to style R PDF reports with knitr and pandoc
knitr is a an R package that allows you to include R code in markdown or LaTeX source files, and have the code and/or its output included in the resulting html or pdf files. RStudio provides good support for this, so if you want to try it out that’... [Read more...]