问题
I would like to save the presentation generated by knitr as a html file. Which I am able to share with people as standalone html file.
If I use Run Document button in R studio (server) this generates a file with the .Rmd extension.
---
title: "Standalone"
author: "MarketRedesign"
date: "10-7-2014"
output: ioslides_presentation
---
## Slide with R Code and Output
```{r}
summary(cars)
```
回答1:
When you press the knit HTML button, a HTML file IS always created by RStudio in the same directory as the R Markdown file lives in. The HTML file will also have the same name as the R Markdown file that was used to create it.
来源:https://stackoverflow.com/questions/24679518/save-a-rmarkdown-ioslides-presentation-as-standalone-website