--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/485af40b-856c-45d3-8d13-eb131bcc184e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/1af8cd2d-5690-4763-bdd7-e2182853aa54%40googlegroups.com.
list_of_excelfiles <- unlist(list.files(pattern = "xlsx")) selectInput("delmodel", h4("File to delete:"),
choices = c("None", unique(as.character(list_of_excelfiles))),
selectize = FALSE
)What doesn't work? Can you clarify what you're trying to do and what is going wrong?
On Fri, Feb 17, 2017 at 5:18 AM, Renger van Nieuwkoop <rvanni...@gmail.com> wrote:
Hi JoeAnd if I want to delete a file during my session? I tried the followingfileInput('file2', 'Choose File') in the uiandobserveEvent(input$file2, {if (!is.null(input$file2)) {file.remove(input$file2$datapath)}})in the server.R file, but this doesn't work.I also tried with a seclectInput of a list of all files, but same problem.CheersRenger
--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.