The "spin" functionality in knitr for producing html from R script files (.R files) is very useful, and nearly perfrect for homework. But what do you do if you want to create more polished reports - say for you supervisor at work? Here we'll explore the "Rmarkdown" document language that is part of knitr.
- Create Rmarkdown documents and compile them using knitr
- Use chunk options to control size of figures and display of code
- Use the "projects" feature in RStudio to manage multiple porjects in R
- Create basic pdf files using LaTex with knitr