【发布时间】:2014-09-01 00:05:50
【问题描述】:
我想将由 knitr 生成的演示文稿保存为 html 文件。我可以将其作为独立的 html 文件与人们分享。
如果我在 R Studio(服务器)中使用 Run Document 按钮,则会生成一个扩展名为 .Rmd 的文件。
---
title: "Standalone"
author: "MarketRedesign"
date: "10-7-2014"
output: ioslides_presentation
---
## Slide with R Code and Output
```{r}
summary(cars)
```
【问题讨论】:
-
编织 HTML 按钮(默认 Control + Shift + H)不起作用?
-
不,我认为这在 R Studio 版本 0.98.945 中不再起作用
-
你应该只看到运行文档按钮,如果它是一个闪亮的演示文稿(即有
runtime: shiny)。你看到上面的文件了吗?您是否尝试过更新 RStudio?
标签: r knitr r-markdown rstudio-server