guiDlgOpen {svDialogs}R Documentation

An open file(s) dialog box

Description

Allows to select one or more existing files to be opened

Usage

guiDlgOpen(title = "Select file", defaultFile = "", defaultDir = "", multi = FALSE, filters = c("All files (*.*)", "*.*"), parent = 0, GUI = getOption("GUIwidgets"))

Arguments

title the title of the dialog box
defaultFile the file name to display by default
defaultDir the default dir where to open the dialog box
multi is it allowed to select several files at once?
filters the filters to use. It is a n*2 matrix of characters, with first column being the label and the second being the mask. For instance: "Text files", "*.txt".
parent the parent of this dialog box (not implemented yet)
GUI which GUI widgets do you want to use (tcltk, wxPython, ...)

Value

A list with the path to the selected files.

Author(s)

Philippe Grosjean (phgrosjean@sciviews.org)

See Also

guiDlgSave, guiDlgDir

Examples

    #### TO DO...

[Package svDialogs version 0.9-5 Index]