I would like users to be able to select a directory interactively in R. The solution needs to work on different platforms (at least on Linux, Windows and Mac machines that have
you can use the choose_dir function from easycsv. it works on Windows, Linux and OSX
choose_dir
easycsv::choose_dir() # can be run without parameters to prompt a folder selection window