O'Reilly logo

R: Recipes for Analysis, Visualization and Machine Learning by Chiu Yu-Wei, Atmajitsinh Gohil, Shanthi Viswanathan, Viswa Viswanathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required