guiDlgOpen {svDialogs} | R Documentation |
Allows to select one or more existing files to be opened
guiDlgOpen(title = "Select file", defaultFile = "", defaultDir = "", multi = FALSE, filters = c("All files (*.*)", "*.*"), parent = 0, GUI = getOption("guiWidgets"))
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, ...) |
A list with the path to the selected files.
Philippe Grosjean (phgrosjean@sciviews.org)
#### TO DO...