tk_choose.dir: Choose a Folder Interactively

Description Usage Arguments Value See Also Examples

Description

Use a Tk widget to choose a directory interactively.

Usage

1
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

tk_choose.files

Examples

1
2
3
4
## Not run: 
tk_choose.dir(getwd(), "Choose a suitable folder")

## End(Not run)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.