[英]Trouble with googlevis using Knitr HTML in RStudio 0.98.94
当使用RStudio 0.97时,我曾经能够轻松地将googleVis
图编织成html输出。 但是,现在使用RStudio 0.98.94,即使对于以下Rmd也会导致错误:
---
title: "knitr googleVis"
output: html_document
---
```{r, results='asis'}
library('googleVis')
tbl <- gvisTable(data.frame(letters = letters[1:5], number = seq(5)))
print(tbl, 'chart')
```
错误消息是:
pandoc.exe:无法检索https://www.google.com/jsapi?callback=displayChartTableID253831656700
InternalIOException getAddrInfo:不存在(错误11001)
错误:pandoc文档转换失败,错误61
另外:警告信息:
在if(grepl(“”,path,fixed = TRUE))path < - utils :: shortPathName(path):条件的长度> 1,只使用第一个元素
执行停止
以下是我的sessionInfo():
sessionInfo()R版本3.0.2(2013-09-25)平台:x86_64-w64-mingw32 / x64(64位)
locale:[1] LC_COLLATE = English_United States.1252 LC_CTYPE = English_United States.1252> LC_MONETARY = English_United States.1252 [4] LC_NUMERIC = C LC_TIME = English_United States.1252
附加基础包:[1] stats graphics grDevices utils数据集方法库
其他附件包:[1] googleVis_0.5.4
通过命名空间加载(而不是附加):[1] digest_0.6.4 htmltools_0.2.4 RJSONIO_1.0-3 rmarkdown_0.2.49 tools_3.0.2> yaml_2.1.13
有没有人有解决这个问题的想法? 非常感谢!
Knitr不会渲染googleVis或devtools::install_github('mages/googleVis')
对我devtools::install_github('mages/googleVis')
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.