select txt file from dropdown option

i have folder of txt files which i am going to work on,
i need to select that txt file from dropdown option and get all the data from that selected text file and then pass to the variable

You can use list.filesto get the file names of the .txt files. Then pass that result to shiny::selectInput to pick the file you want.

If you want help with the actual code, please try a reprex like in this link.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.