2016-04-21 110 views
2

將我的頭撞向磚牆,嘗試在新筆記本電腦上部署閃亮的應用程序。我正在使用Rstudio中的模板應用程序(File | New Project | New Directory | Shiny Web Application for the Old Faithful Geyser Data(非常簡單,並且不需要額外的軟件包)測試事情)。shinyapps部署;錯誤:未處理的例外:兒童任務

我試過不同的網絡,更新RStudio(以0.99.896)和R(3.2.5)。堅持不懈地得到這個消息...

Preparing to deploy application...DONE 
Uploading bundle for application: 96234...DONE 
Deploying bundle: 427331 for application: 96234 ... 
Waiting for task: 180491371 
    building: Building image: 420289 
    building: Building package: digest 
################################ Begin Task Log ################################ 
################################# End Task Log ################################# 
Error: Unhandled Exception: Child Task 180491373 error: Unhandled Exception: HTTP 599: Connection closed 
Execution halted 

here以下建議,我試圖改變我的行政管理中的語言爲美國英語(通過控制但是,儘管卸載/重新安裝R和Rstudio,重新安裝計算機,R似乎是修復在English_United Kingdom ...

R version 3.2.5 (2016-04-14) 
Platform: i386-w64-mingw32/i386 (32-bit) 
Running under: Windows >= 8 (build 9200) 

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

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

loaded via a namespace (and not attached): 
[1] rsconnect_0.4.2.2 tools_3.2.5  RCurl_1.95-4.8 RJSONIO_1.3-0  
[5] digest_0.6.9  bitops_1.0-6 

我又試圖直接設置語言環境R:

> Sys.setlocale("LC_ALL","English") 
[1] "LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252" 

其作品,但似乎shinyapps:::systemLocale ...不爲所動

> options(shinyapps.locale.cache=FALSE) 
> 
> shinyapps:::systemLocale() 
Detecting system locale ... en_GB 
[1] "en_GB" 

,我仍然不能得到應用部署到shinyapps .IO。試圖在PC上部署shinyapps網站時,我有一些學生遇到同樣的問題。任何建議感激。

回答

2

我認爲這是由於最新版本的R. 現在不支持R 3.2.5。你必須降級你的版本。

+1

https://groups.google.com/forum/#!topic/shinyapps-users/5WIEuHfwpiU 檢查此鏈接 –

+0

謝謝。我會在下週再試,並給你答案接受,如果一切正常的話。 upvotes現在。 – gjabel

+0

問題在R 3.3.0中消失。 – gjabel