Learn R Programming

svDialogs (version 0.9-43)

guiDlgSave: a save to file dialog box

Description

Use this dialog box to ask a name for saving a file.

Usage

guiDlgSave(title = "Save As", defaultFile = "", defaultDir = "",
    defaultExt = "", filters = c("All files (*.*)", "*.*"), parent = 0,
    GUI = getOption("guiWidgets"))

Arguments

title
the title of the dialog box.
defaultFile
the default file name.
defaultDir
the default directory where to open this dialog box.
defaultExt
the default extension for the file.
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, ...).

Value

  • The path to the file where to save data.

concept

GUI API dialog boxes

See Also

guiDlgOpen

Examples

Run this code
### TODO...

Run the code above in your browser using DataLab