How to display and select files in directory

I need to code the following functionality: Display a list of files from the directory and ask the user to select one, many or all the files from the directory. Would you suggest the right approach would be using the shinyFiles package?

I don't have a lot of experience with shinyFiles, but looking at the documentation it seems possible to select multiple files, through the 'multiple' parameter, so that's probably your most polished and user-friendly option.

Using fileInput() is another option: https://itsalocke.com/blog/r-quick-tip-upload-multiple-files-in-shiny-and-consolidate-into-a-dataset/

Thanks a lot Nick.

Giuseppa