powered by
Choose a directory interactively.
dir.choose(default = "", caption = "Select directory")
A length-one character vector, character NA if 'Cancel' was selected.
NA
which directory to show initially.
the caption on the selection dialog
Andri Signorell <andri@signorell.net>
file.choose
if (FALSE) { dir.choose(getwd(), "Choose a suitable folder") }
Run the code above in your browser using DataLab