Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
升级后:rCharts在rmarkdown中不工作_R_Rcharts - Fatal编程技术网

升级后:rCharts在rmarkdown中不工作

升级后:rCharts在rmarkdown中不工作,r,rcharts,R,Rcharts,升级到rCharts0.4.5版后,我再也看不到rmarkdown文件中的绘图了。我已经制作了一个最小的rmd示例,在这个示例中,我无法再看到绘图(如果我在浏览器中打开输出)。我完全不知道是哪个包裹造成的。请注意,如果我使用$save模式,只导入创建的html文件(如示例2所示),效果会很好 你知道吗 我从highcharts演示创建了一个最小示例。也帮助了我 ```{r echo = F, message = F, cache = F} # Set options for plots. lib

升级到
rCharts
0.4.5版后,我再也看不到rmarkdown文件中的绘图了。我已经制作了一个最小的rmd示例,在这个示例中,我无法再看到绘图(如果我在浏览器中打开输出)。我完全不知道是哪个包裹造成的。请注意,如果我使用
$save
模式,只导入创建的html文件(如示例2所示),效果会很好

你知道吗

我从highcharts演示创建了一个最小示例。也帮助了我

```{r echo = F, message = F, cache = F}
# Set options for plots.
library(knitr)
opts_chunk$set(results = 'asis', comment = NA, message = F, tidy = F, echo=FALSE, cache=FALSE)
```

```{r, echo=FALSE}
library(rCharts)
a <- hPlot(Pulse ~ Height, data = MASS::survey, type = "bubble", title = "Zoom demo", subtitle = "bubble chart", size = "Age", group = "Exer")
a$chart(zoomType = "x")
a$exporting(enabled = T)
a$show('iframesrc', cdn = TRUE)
```

```{r, echo=FALSE}
library(rCharts)
a <- hPlot(Pulse ~ Height, data = MASS::survey, type = "bubble", title = "Zoom demo", subtitle = "bubble chart 2", size = "Age", group = "Exer")
a$chart(zoomType = "x")
a$exporting(enabled = T)
a$save('plot2.html', standalone = TRUE)
```
<iframe src="plot2.html" height="450" width="850" frameBorder="0"></iframe>
`{r echo=F,message=F,cache=F}
#设置打印选项。
图书馆(knitr)
选择块$set(结果='asis',注释=NA,消息=F,整洁=F,回显=FALSE,缓存=FALSE)
```
```{r,echo=FALSE}
图书馆(艺术)
a答案是一个新的“功能”,它可以转换以
http://www.
作为
//www.
使其也能与
https://
一起工作。在Web服务器上,这是正确解释的,但如果打开本地html文件,
//www.
将无法识别。这一问题在网页上有报道