Update: This was posted in the RStudio IDE category, but maybe i'll find more info if it is posted in the Shiny category?.
I am looking for a way to input a directory path in a shiny app. I have recently realized how I can use
choose.dir in Windows, but is there a platform independent solution?
I have written an addin that makes it possible to add or remove projects to the Rstudio Most Recently Used Project list as desired (you can see it here).
All of my own projects are held in sub directories of the
~/R directory, and so are easy easy to find.
Since I wrote the functions for only my own use, I had no need to search any other locations, but it seems not everyone sets up their projects the same way I do
As far as I can tell there is no
shiny::dirInput (or equivalent), so what might be the best, platform independent, way to allow people to specify the directory in which to look for projects?