Learn R Programming

svDialogs (version 0.9-41)

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.

See Also

guiDlgOpen, guiDlgSave

Examples

Run this code
#### TO DO...

Run the code above in your browser using DataLab