...Hi,
I'm trying to replicate an R script through a flexdashboard, part of which involves uploading multiple files.
Within the r script the filename is used to discriminate between files for the analysis however I haven't found a way to make this work in shiny.
I know I can access the filename through input$data$Name
but I haven't been able to assign it as a column successfully. mutate(filename=gsub(" .csv", "", basename(flnm))
works in the r script but only returns errors in shiny. And I have tried with basename(input$data$Name) as well.