在R 3.1.1中安装rCharts时出错(Windows)

时间:2014-10-22 22:08:34

标签: r rcharts

是否有可用于R 3.1.1的rCharts版本?

我尝试了两种方法,但都失败了:

方法1:

devtools::install_github('ramnathv/rCharts')
Downloading github repo ramnathv/rCharts@master
Error in function (type, msg, asError = TRUE)  : couldn't connect to host

方法2 :(手动下载软件包并运行install.packages)

install.packages("~/R/win-library/rCharts-master.zip", repos = NULL)
Warning in install.packages :
package ‘~/R/win-library/rCharts-master.zip’ is not available (for R version 3.1.1)

编辑:我试过了:

library(downloader)
download("https://github.com/ramnathv/rCharts/archive/master.tar.gz", "rCharts.tar.gz")
install.packages("rCharts.tar.gz", repos = NULL, type = "source")

它现在有效!谢谢!

0 个答案:

没有答案