Skip to Content
R Programming By Example
book

R Programming By Example

by Omar Trejo Navarro
December 2017
Beginner to intermediate
470 pages
12h 29m
English
Packt Publishing
Content preview from R Programming By Example

Building our presentation with R Markdown

In this section, we will develop our presentation's R Markdown file. We create an empty file named presentation.R and put the following headers in. The quotation marks are not required unless you want to include a colon in the title. As shown in a previous section, using backticks (“ ’), we can execute R code. In this case, we put the current date automatically in the front page. Finally, we chose ioslides_presentation as an output format. Feel free to experiment with the other outputs shown previously:

---
title:  "The Food Factory"
author: "Weekly Update"
date:   "`r Sys.Date()`"
output: ioslides_presentation
---

The following code sets up the default configuration for the code chunks in our presentation. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Efficient R Programming

Efficient R Programming

Colin Gillespie, Robin Lovelace
R Programming

R Programming

Jared P. Lander

Publisher Resources

ISBN: 9781788292542Supplemental Content