Creating PDF presentations of your analysis with R Presentation

Rpres, built into RStudio, enables you to create PDF slide presentations of your data analysis. In this recipe, we develop a small application that showcases the important Rpres features.

Getting ready

Download the files for this chapter and store the sample-image.png and Introduction.Rpres files in your R working directory.

How to do it...

  1. Open RStudio.
  2. 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. ...

Get R: Recipes for Analysis, Visualization and Machine Learning 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.