On this page
tk_choose.dir Choose a Folder Interactively
Description
Use a Tk widget to choose a directory interactively.
Usage
tk_choose.dir(default = "", caption = "Select directory")
Arguments
default |
which directory to show initially. |
caption |
the caption on the selection dialog. |
Value
A length-one character vector, character NA if ‘Cancel’ was selected.
See Also
Examples
if (interactive()) tk_choose.dir(getwd(), "Choose a suitable folder")
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.