0
나는 파일을 읽을 빛나는 대화 형 UI를 만들기 위해 노력하고 벡터에 유형 '환경'을 강요 할 수는 없지만 나는 다음과 같은 오류가 점점 오전 :유형 '문자'
코드의cannot coerce type 'environment' to vector of type 'character'
일부는 사용 동일한 경우 :
library(shiny)
ui= fluidPage(
titlePanel("TF-IDF")
sidebarLayout(
sidebarPanel(
fileInput("file", "Upload the File ")
),
mainPanel(
uiOutput("contents")
)
)
)
shinyServer= function(input,output){
datain1= reactive({
file1= input$file
if(is.null(file1)){return()}
read.table(file=file1$datapath, sep= input$sep, header= input$header , stringsAsFactors = input$stringAsFactors)
}
)
}
shinyApp(ui= shinyUI, server = shinyServer)