Learn R Programming

SciViews (version 0.8-9)

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, wxPython, ...)

Value

  • The choosen directory.

synopsis

guiDlgDir(title = "Select a directory", dir = getwd(), new = TRUE, parent = 0, GUI = getOption("guiWidgets")) guiDlgDir.wxPython(title = "Select a directory", dir = getwd(), new = TRUE, parent = 0)

See Also

guiDlgOpen, guiDlgSave

Examples

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

Run the code above in your browser using DataLab