selectInput/Output/Folder: how to wait until the user has finished the selection
in
Share your Work
•
5 months ago
selectInput/Output/Folder is now just call a callback function instead of returning a path of the selected file. It is declared that "The callback is necessary because of how threading works", but the previous behavior was also useful too. I wrote a sample implementation to simulate the modal interaction of select*(). If you have any good idea, please let me know.
https://gist.github.com/fukuchi/5618340
FYI: I also extended the select*() to allow to pass an ID object to callback function. See
this patch.
P.S.:
I have reworked this issue and made a patch against the latest source. Please refer
this pull request for the details.