Save a rmarkdown ioslides presentation as standalone website

a 夏天 提交于 2019-12-11 09:43:49

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!