
You can write the paper, and at the position where you want to include the plot, you include the R-code that produces your plot, instead. Say you’re writing a scientific paper with a few plots in it. One of the great things about Rmarkdown is that you can integrate R-code in your manuscript.

At its basic level, it follows the ideas behind all plain-to-rich text converters: that writing without having to focus on the layout of the document makes it easier to concentrate on what you want to convey, not how you are going to convey it. Rmarkdown is a syntax for writing plain text documents that get converted to rich text webpages, pdfs, word documents and presentations.
