Creating R Markdown reports

RStudio has an R Markdown workflow built in; we can use its GUI to create markdown reports in HTML, PDF, slide, or Microsoft Word format. In this recipe, we will introduce how to build an R Markdown report with RStudio.

Getting ready

Ensure you have installed the latest versions of R and RStudio on your operating system. If you have not yet installed RStudio, please visit the following URL to download the most recent version:

https://www.rstudio.com/products/rstudio/download/

How to do it…

Please perform the following steps to create an R Markdown report:

  1. First, click on File | New File | R Markdown on the menu bar:
    How to do it…

    Figure 1: ...

Get R for Data Science Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.