http://www.r-project.org/ 下载新的 R-3.1.1-win.exe
http://cran.dataguru.cn/ 下载新的 R-3.1.1-win.exe 更快些
在Windows 安装好。
http://cran.r-project.org/web/packages/googleVis/ 看看
| Version: | 0.5.3 |
| Depends: | R (≥ 3.0.2) |
| Imports: | methods, RJSONIO, utils |
| Suggests: | shiny (≥ 0.4.0), httpuv (≥ 1.2.0), knitr (≥ 1.5) |
首先 chooseCRANmirror() # 选厦门
options(repos="http://cran.dataguru.cn/") # 本人在广州,所以选了国内最近的镜像网站
options("repos")[[1]][1] # 检查 http:// 指向哪里
先装依赖的包:
install.packages(c("devtools","RJSONIO", "knitr", "shiny", "httpuv"))
再装 install.packages("googleVis")
安装完成后测试:
library(googleVis)
?googleVis
demo(googleVis)
本文介绍如何在R语言环境中安装googleVis数据可视化包,包括选择合适的镜像站点、安装依赖包及googleVis包的方法,并提供简单的测试验证。
1474

被折叠的 条评论
为什么被折叠?



