How to upload the content of a directory in Shiny R? -
i have directory different txt files. can use following code in ui.r files individually: fileinput("file", '', multiple=true, accept = c("summary.txt","progress.txt")), however, allow user of shiny app select directory path contain summary.txt , progress.txt files. ideally, app should automatically access content of directory , upload content. i'd appreciate if can me this.