How to make a presentation of RStudio self-sufficient?

I am writing a presentation in R using RStudio. To create a new presentation, I select "R Presentation" from the File => New File menu. RStudio creates a new document. Here is the template:

New Presentation
========================================================
author: 
date: 

First Slide
========================================================

For more details on authoring R presentations click the
**Help** button on the toolbar.

- Bullet 1
- Bullet 2
- Bullet 3

Slide With Code
========================================================

```{r}
summary(cars)
```

Slide With Plot
========================================================

```{r, echo=FALSE}
plot(cars)
```

After you create a presentation, you can save it as HTML. However, I cannot find an option to make it a stand-alone HTML file.

As a counter example, I can create a stand-alone HTML file using Rmarkdown:

---
title: "Habits"
output:
    ioslides_presentation:
      mathjax: local
      self_contained: false
---

Source: http://rmarkdown.rstudio.com/ioslides_presentation_format.html

What is the equivalent of this code in RStudio R Presentation?

Also, does anyone know why they are both?

SOLVED (09/25/2017)! See Nova's answer below. Here is a screenshot showing how I did this:

enter image description here

+4
1

"" html, "" RStudio, , "", " -". .html, , .

+1

Source: https://habr.com/ru/post/1618741/


All Articles