無法安裝 rCharts 套件

問題

下列的警告訊息出現在安裝時,rCharts 來源 Linux 中的檔案︰

> install.packages("ramnathv-rCharts-2c368c8.tar")
警告訊息︰
套件 ' ramnathv-rCharts-2c368c8.tar' 不能 (用於 R 版本 3.0.2)

方案

因為 rCharts 套件不是在 CRAN 上,您需要安裝它的 devtools 套件。安裝 rCharts 作者所述的正確方式是藉由遵循指示從連結︰

http://ramnathv.github.io/rCharts/

若要安裝它,如作者所述的替代方法如下所示︰

1. >install.packages('devtools') 
>library(devtools)
>install_github("ramnathv/rCharts")

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

某些參考以及引導您安裝 rCharts 的連結︰
https://github.com/ramnathv/rMaps/issues/11
https://github.com/ramnathv/rCharts/issues/411

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×