无法成功安装shinyTable

时间:2015-08-14 14:53:48

标签: r github shiny

我按照Github上的说明进行操作。它给我一个错误:

install_github("shinyTable", "trestletech")
Downloading github repo trestletech/shinyTable@master
Error in curl::curl_fetch_memory(url, handle = handle) : 
Timeout was reached
 In addition: Warning message:
 Username parameter is deprecated. Please use trestletech/shinyTable 

然后,我尝试下载repo zip文件并从R studio中的本地zip文件安装了shinyTable。在那之后,我库(shinyTable)。它给我一个错误。

> install.packages("D:/UserData/xxxx/Downloads/shinyTable-master.zip", repos = NULL)
Installing package into ‘D:/UserData/xxxx/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
> library(shinyTable)
Error in library(shinyTable) : there is no package called ‘shinyTable’

这是sessionInfo()结果:

R version 3.2.1 (2015-06-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

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

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

other attached packages:
[1] shinyRGL_0.1.0 devtools_1.8.0 rJava_0.9-7   

loaded via a namespace (and not attached):
 [1] rgl_0.95.1247   Rcpp_0.12.0     digest_0.6.8    mime_0.3        R6_2.1.0        xtable_1.7-4    git2r_0.10.1   
 [8] magrittr_1.5    httr_1.0.0      stringi_0.5-5   curl_0.9.2      xml2_0.1.1      tools_3.2.1     stringr_1.0.0  
[15] shiny_0.12.2    httpuv_1.3.3    rversions_1.0.2 htmltools_0.2.6 tcltk_3.2.1     memoise_0.2.1  

有谁知道原因并告诉我如何安装它?谢谢。

1 个答案:

答案 0 :(得分:0)

我最近遇到过类似的问题。你能试试这个:

library(devtools)
install_git("https://github.com/trestletech/shinyTable")