I'm using utils::choose.dir() and choose.files() to select and save files. I can set the opening directory in choose.files() using a fully-qualified path name, but choose.dir always opens at the default "", even when I run the example in the help file:
choose.dir(getwd(), "Choose a suitable folder")
It still opens at This PC. I have tried dirname(dataName)
as the first argument and also a character string with a fully-qualified path name and there is no difference.
How can I make this happen?
I'm running Windows 10 Home version 1903 and R 4.0.2
This question is similar to R Windows OS choose.dir() File chooser won't open at working directory, but that one focused on MacOS. I'm hoping to get this to work as stated in the documentation example on Windows.
I'm okay with moving to tcltk (which does do what I need), but I'm trying to understand if the problem as stated is on my end.
Thanks