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)