2016-03-02 337 views
1

我已經試過了好半天安裝 'rsconnect' 用命令rsconnect安裝失敗

devtools::install_github('rstudio/shinyapps') but failed with the message below.

下載GitHub庫rstudio/URL從@ shinyapps主 https://api.github.com/repos/rstudio/shinyapps/zipball/master 安裝shinyapps 「C:/ Program Files文件/ R/R-3.2.3/bin/x64/R「--no-site-file --no-environ --no-save --no-restore CMD INSTALL \ 」C:/ Users/Flora/AppData/Local/Temp/RtmpsPtNWD/devtools20343ed16b87/rstudio-shinyapps-4dd3a9d「--library =」C:\ Program \ Files/R/R-3.2.3/library「--install-tests

錯誤:命令失敗(1)

我已經試過

devtools::install_github('rstudio/shinyapps') also, but failed with the exactly same message.

任何人可以幫助我嗎? 非常感謝提前! :)

+0

//,你用什麼版本的R這個?確保你有最新版本。另外,如果您遇到錯誤,是否在命令輸出中提到了特定的軟件包? 您是否試過'> install.packages('rsconnect')'? –

回答

-1

試試這個 -

if (!require("devtools")) 
    install.packages("devtools") 
devtools::install_github("rstudio/rsconnect") 
+0

//,這是他所做的,只是混入一個有條件的多行條目。 –

+0

//,你可以評論他可以嘗試的其他事情嗎?這些說明完全失敗:http://shiny.rstudio.com/articles/shinyapps.html –