r-markdown
Adjust the output width of R Markdown HTML output
Add this at the start of your document: “`{r set-options, echo=FALSE, cache=FALSE} options(width = SOME-REALLY-BIG-VALUE) “` Obviously, replace SOME-REALLY-BIG-VALUE with a number. But do you really want to do all that horizontal scrolling? Your output is probably being wrapped somewhere around 80 characters or so.
How to convert R Markdown to PDF?
Updated Answer (10 Feb 2013) rmarkdown package: There is now an rmarkdown package available on github that interfaces with Pandoc. It includes a render function. The documentation makes it pretty clear how to convert rmarkdown to pdf among a range of other formats. This includes including output formats in the rmarkdown file or running supplying … Read more