安装clickme包

时间:2014-06-24 08:24:40

标签: javascript r

我想使用clickme包进行一些数据可视化,我需要安装它。 我直接下载clickme.zip并在D:\Public\Programme\R-3.0.3\library中解压缩,当我启动库(clickme)时,它可以工作。但是,当我尝试使用像clickme("points", 1:10)这样的示例时,它返回了一条错误消息Error: d3.v3.4.3.js not found at: D:/Public/Programme/R-3.0.3/library/clickme/templates/../shared_assets/d3.v3.4.3.js? 你能解释一下我的错误吗? 提前谢谢。

编辑:

> install.packages(file.choose(), repos=NULL)
> library(clickme)
> clickme("points", 1:10)
Erreur : d3.v3.4.3.js not found at: D:/Public/Programme/R-3.0.3/library/clickme/templates/../shared_assets/d3.v3.4.3.js

编辑2:

> sessionInfo()
R version 3.0.3 (2014-03-06)
Platform: i386-w64-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252   
[3] LC_MONETARY=French_France.1252 LC_NUMERIC=C                  
[5] LC_TIME=French_France.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] rjson_0.2.13  stringr_0.6.2 knitr_1.6     yaml_2.1.11   clickme_0.5.1

loaded via a namespace (and not attached):
[1] codetools_0.2-8 evaluate_0.5.5  formatR_0.10    tools_3.0.3 

0 个答案:

没有答案