2016-04-21 109 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