我想简单地在shinyapps.io 网站上发布我的应用程序。当我运行deployApp()时,我收到以下消息:
错误:未处理的异常:子任务 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
- 我从TXT文件中读取数据
- 我已经尝试过 R 版本 3.1.1、3.1.3、3.0.2 但错误仍然存在。
- 编辑:我刚刚发现,即使我使用简单的 ui.R 发布空白 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) }) })