R 幻灯片显示错误的演示文稿
我尝试用R中的slidify软件包构建演示文稿。我对演示文稿进行了编码,并在下面的R 幻灯片显示错误的演示文稿,r,slidify,R,Slidify,我尝试用R中的slidify软件包构建演示文稿。我对演示文稿进行了编码,并在下面的.Rmd文件中调用了slidify函数。我在GGally中使用了钻石数据集 当我发布以下内容时,n1$show(“iframesrc”,cdn=TRUE)没有显示rChart 对象$show()中出错:未找到对象“opts\u current” gvisMotionChart也显示错误 我想知道并期待着rCharts和gvisMotionChart,我错过了一些东西。谢谢你的期待 --- title
.Rmd
文件中调用了slidify函数。我在GGally
中使用了钻石数据集
当我发布以下内容时,n1$show(“iframesrc”,cdn=TRUE)
没有显示rChart
对象$show()中出错:未找到对象“opts\u current”
gvisMotionChart
也显示错误
我想知道并期待着rCharts
和gvisMotionChart
,我错过了一些东西。谢谢你的期待
---
title : Presentation
subtitle :
author :
job :
framework : io2012 # {io2012, html5slides, shower, dzslides, ...}
highlighter : highlight.js # {highlight.js, prettify, highlight}
hitheme : tomorrow #
widgets : [mathjax, quiz, bootstrap,shiny,interactive] # {mathjax, quiz, bootstrap}
mode : selfcontained # {standalone, draft}
knit : slidify::knit2slides
--- &interactive
```{r}
library(rCharts)
library(ggplot2)
library(GGally)
n1 <- nPlot(carat ~ cut , group = "color", data = diamonds[1:40,], type = "multiBarChart")
n1$show("iframesrc", cdn = TRUE)
```
--- &interactive
## Plot
```{r opts.label = 'interactive'}
library(googleVis)
library(GGally)
g <-gvisMotionChart(diamonds, "carat", "price", options = list(width = 800, height = 600))
g$show("iframesrc", cdn = TRUE)
```
---
标题:介绍
字幕:
作者:
工作:
框架:io2012#{io2012,html5slides,shower,dzslides,…}
高亮显示:highlight.js{highlight.js,美化,高亮显示}
希瑟姆:明天
小部件:[mathjax,测验,引导,闪亮,交互式]{mathjax,测验,引导}
模式:自包含#{独立,草稿}
knit:slideify::knit2slides
---&交互式
```{r}
图书馆(艺术)
图书馆(GG2)
图书馆(GGALY)
n1