将rmarkdown ioslides演示文稿另存为独立网站 [英] Save a rmarkdown ioslides presentation as standalone website
本文介绍了将rmarkdown ioslides演示文稿另存为独立网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将knitr生成的演示文稿另存为html文件.我可以与人分享为独立的html文件.
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.
如果我在R Studio(服务器)中使用运行文档按钮,则会生成扩展名为.Rmd的文件.
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)
```
推荐答案
当您按下编织的HTML按钮时,RStudio总是在与R Markdown文件相同的目录中创建一个HTML文件.该HTML文件还将与用于创建它的R Markdown文件具有相同的名称.
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.
这篇关于将rmarkdown ioslides演示文稿另存为独立网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文