Example of using knitr to combine R and LaTeX files