updated source file of document to compile directly to pdf with RMarkdown II and knitr