Changes to get knitr to work with ProjectTemplate. (lines 6-10)