tk_choose.dir

0th

Percentile

Choose a Folder Interactively

Use a Tk widget to choose a directory interactively.

Keywords
file
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

tk_choose.files

Aliases
  • tk_choose.dir
Examples
library(tcltk) # NOT RUN { tk_choose.dir(getwd(), "Choose a suitable folder") # }
Documentation reproduced from package tcltk, version 3.5.2, License: Part of R 3.5.2

Community examples

Looks like there are no examples yet.