Learn R Programming

SciViews (version 0.8-8)

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

Value

  • The path to the file where to save data.

synopsis

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

See Also

guiDlgOpen

Examples

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

Run the code above in your browser using DataLab