I\'ve previously asked about the commands for converting R Markdown to HTML.
What is a good way to convert R Markdown files to PDF documents?
Follow these simple steps :
1: In the Rmarkdown script run Knit(Ctrl+Shift+K) 2: Then after the html markdown is opened click Open in Browser(top left side) and the html is opened in your web browser 3: Then use Ctrl+P and save as PDF .