Playable example (if you have rstudio):
- File | New | R markdown
- Knitting in html, saving as
test :

Go to the working directory
(results are inserted here )
- Convert to pdf using pdflatex (see result here )
Or skip the tex step by going directly to .pdf:
pandoc -s test.md -t latex -o test2.pdf
The results are good, but there seem to be many steps, given that knitr includes sweave. It should be able to directly convert from .Rmd to .tex or .pdf. Right?
source share