powered by
Select an existing directory, or create a new one.
# S3 method for tcltkGUI dlg_dir(default = getwd(), title = "Choose a directory", ..., gui = .GUI)
The path to the default directory that is proposed (e.g., current working directory).
A title to display on top of the dialog box.
Not used yet.
The 'gui' object concerned by this dialog box.
The path to the selected folder.
svDialogs::dlg_dir()
# NOT RUN { library(svDialogstcltk) # Tcl/Tk dialog boxes are now used by default # } # NOT RUN { # A quick default directory changer setwd(dlg_dir(default = getwd())$res) # }
Run the code above in your browser using DataLab