Usage
gfile(text = "", type = c("open", "save", "selectdir"), initialfilename = NULL,
filter = list("All files" = list(patterns = c("*")), "R files" =
list(patterns = c("*.R","*.Rdata")),
"text files" = list(mime.types = c("text/plain"))
), multi=FALSE, handler = NULL, action = NULL, ..., toolkit = guiToolkit())gfilebrowse (text = "Select a file...", type = "open", quote = TRUE,
container = NULL, ..., toolkit = guiToolkit())
gcalendar(text = "", format = "%Y-%m-%d", handler=NULL,
action=NULL, container = NULL, ..., toolkit = guiToolkit())
Arguments
text
Initial text. For thecalendar, an optional date in a form matching format
type
When selecting a file it can be selected for opening,
for saving or you may want to select a directory.
initialfilename
Suggested name for file save
filter
Filter for files shown during selection. Can be nested list, as in example or a named character vector with the names a description and value a file extension (no dots) of files endings to match.
multi
Logical. Allow selection of multiple files?
format
Format of date, default is year-month-day
handler
Handler for when file is changed. The component
file
of the first argument contains the file name
container
Optional container to attach widget to
...
Passed to gedit
instance
toolkit
Which GUI toolkit to use