How to do it...

Open RStudio and create a new R Presentation document using the following steps:

  1. Navigate to File | New File and click on R Presentation.
  2. Enter the filename as RPresentation and save it in your R working directory.
  3. RStudio creates a file with the extension, Rpres. This file includes a default title slide (the very first slide) and a few other sample slides. Creating this file also results in a preview being displayed in the upper right of the RStudio environment.
  4. Fill in author and date and click on Preview.
  5. By default, the preview appears in RStudio itself. However, to see all features properly, drop down the menu on the top right of the tab where the presentation appears and select View in browser.
  6. Click on the arrow button ...

Get R Data Analysis Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.