在Mac上,无法使用fileInput()
上传多个文件。它适用于Windows和Linux。我还设置了参数multiple=T
,但是我不能选择多个文件。这是一个工作脚本。
library(shiny)
runApp(list(
ui = bootstrapPage(
tags$h2("Upload test app"),
fileInput("finput","Upload files",multiple=TRUE),
tableOutput("contents"),
),
server = function(input, output) {
output$contents <- renderTable({
input$finput})
}
))
谢谢。