guiDlgDir: A select directory dialog box
Description
Allows to easily select a directory.Usage
guiDlgDir(title = "Select a directory", dir = getwd(), new = TRUE,
parent = 0, GUI = getOption("guiWidgets"))Arguments
title
the title of the dialog box.
dir
the default directory.
new
is a new directory allowed?
parent
the parent of this dialog box (not implemented yet).
GUI
which GUI widgets do you want to use (tcltk, ...).
Value
- The choosen directory, or an empty string if the cancel button was clicked.
concept
GUI API dialog boxes