1
我想簡單地在shinyapps.io網站上發佈我的應用程序。當我運行deployApp()我得到這個消息:在shinyapps.io中部署R應用程序 - 錯誤:解析清單
錯誤:未處理的異常:子任務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但仍然存在錯誤。
- 編輯:我剛剛發現,當我發佈空白server.R用一個簡單的ui.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) }) })
我不確定,但它看起來像一個編碼問題,特別是因爲你正在閱讀一個TXT。 –
我也嘗試過使用excel文件,但它不適用於我的系統。在講師的系統上運行相同的代碼(對我來說,它只是脫機工作) –
R對excel文件做得不太好;你有沒有試過csv? –