gpt4 book ai didi

r - Shinyapps 部署;错误 : Unhandled Exception: Child Task

转载 作者:行者123 更新时间:2023-12-02 01:26:41 34 4
gpt4 key购买 nike

试图在新笔记本电脑上部署一个 Shiny 的应用程序,我的头撞在砖墙上。我正在使用 Rstudio 中的模板应用程序(文件|新项目|新目录|Shiny Web Application for the Old Faithful Geyser Data(非常简单,不需要额外的包)进行测试。

我在不同的网络上尝试过,更新了 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我试图将我的管理语言更改为美国英语(通过 Windows 中的控制面板)。但是,尽管卸载/重新安装 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 站点时遇到了同样的问题。任何建议表示赞赏。

最佳答案

我认为这是由于 R 的最新版本。
目前不支持 R 3.2.5。你必须降级你的版本。

关于r - Shinyapps 部署;错误 : Unhandled Exception: Child Task,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36764648/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com