I want to simply publish my app in shinyapps.io website. When I run deployApp() I got this message:
我想在shinyapps.io网站上发布我的应用程序。当我运行deployApp()时收到此消息:
Error: Unhandled Exception: Child Task 32916512 failed: Error parsing manifest: Unsupported locale: 4409_4409.UTF-8 Execution halted
错误:未处理的异常:子任务32916512失败:解析清单时出错:不支持的区域设置:4409_4409.UTF-8执行暂停
Preparing to deploy application...DONE
Uploading application bundle...DONE
Deploying application: 42336...
Waiting for task: 32916511
error: Parsing manifest
################################## Begin Log ##################################
################################### End Log ###################################
Error: Unhandled Exception: Child Task 32916512 failed: Error parsing manifest: Unsupported locale: 4409_4409.UTF-8
Execution halted
- I read data from TXT file
- I already tried with R version 3.1.1, 3.1.3, 3.0.2 But still the error is there.
- EDIT: I just found out, the error appears even when I publish blank server.R with a simple ui.R
我从TXT文件中读取数据
我已经尝试使用R版本3.1.1,3.1.3,3.0.2但仍然存在错误。
编辑:我刚刚发现,即使我用一个简单的ui.R发布空白server.R,也会出现错误
Here some codes , server.R
这里有一些代码,server.R
library(shiny)
library(ggplot2)
shinyServer(function(input,output){
output$graph <- renderPlot({
if(input$radiobutton=="Tools"){
x <- as.matrix(allSkillsNum3[-1])
rownames(x) <- allSkillsNum3[, 1]
p=barplot(t(x),horiz=TRUE,legend.text = T,col=c(1,2,3,4,5,6,7,8))
}
else{
x <- as.matrix(allSkillsNum3[-1])
rownames(x) <- allSkillsNum3[, 1]
p=barplot(t(x)...
}
print(p) }) })
2 个解决方案
#1
It is solved , Thanks to Andy Kipp in shinyapps.io googlegroups.... I'll put the solution here for other programmers
它解决了,感谢Andy Kipp在shinyapps.io googlegroups ....我会把这个解决方案放在其他程序员
It was because my system locale in Control Panel was set to English(Malaysia). So I chose English(United States)
这是因为我在控制面板中的系统区域设置为英语(马来西亚)。所以我选择了英语(美国)
Control Panel> Clock, Language and Region > Change Location > Administrative Tab > Change System Locale
控制面板>时钟,语言和区域>更改位置>管理选项卡>更改系统区域设置
Now, when I run the code:
现在,当我运行代码时:
> shinyapps:::systemLocale()
Detecting system locale ... en_US
[1] "en_US"
Next step is deploying app ... These are the steps :
下一步是部署应用程序......这些步骤如下:
options(shinyapps.locale.cache = FALSE)
then run:
shinyapps:::detectLocale()
Then re-deploy:
deployApp(...)
Good Luck
#2
Deleting manifest.json from local folder also helps. This solves the problem.
从本地文件夹中删除manifest.json也有帮助。这解决了这个问题。
#1
It is solved , Thanks to Andy Kipp in shinyapps.io googlegroups.... I'll put the solution here for other programmers
它解决了,感谢Andy Kipp在shinyapps.io googlegroups ....我会把这个解决方案放在其他程序员
It was because my system locale in Control Panel was set to English(Malaysia). So I chose English(United States)
这是因为我在控制面板中的系统区域设置为英语(马来西亚)。所以我选择了英语(美国)
Control Panel> Clock, Language and Region > Change Location > Administrative Tab > Change System Locale
控制面板>时钟,语言和区域>更改位置>管理选项卡>更改系统区域设置
Now, when I run the code:
现在,当我运行代码时:
> shinyapps:::systemLocale()
Detecting system locale ... en_US
[1] "en_US"
Next step is deploying app ... These are the steps :
下一步是部署应用程序......这些步骤如下:
options(shinyapps.locale.cache = FALSE)
then run:
shinyapps:::detectLocale()
Then re-deploy:
deployApp(...)
Good Luck
#2
Deleting manifest.json from local folder also helps. This solves the problem.
从本地文件夹中删除manifest.json也有帮助。这解决了这个问题。