Creating a presentation in R
Every individual, irrespective of their professional or academic background, will end up creating a presentation at least once in a lifetime. One of the issues while creating presentations using PowerPoint is that we have to manually update the data, contents, and plot. As this book is related to the topic of generating visualizations in R and narrating an effective story, it becomes necessary that we understand how to use R to generate slides to present the data to our audience. The slides in R are created using the slidify
package. The package uses HTML and knitr
to generate slides. In this recipe, we will learn to write sections for code, customize slides to include googleVis
plots, and write mathematical equations.
Getting ready
To generate presentations in R, we will require the following two packages:
slidify
devtools
How to do it…
For this recipe, we will not implement the usual install.packages()
function. The reason being that the slidify
package is not...