dlg_save.tcltkGUI {svDialogstcltk} | R Documentation |
A Tcl/Tk version of the svDialogs file save dialog box
Description
A Tcl/Tk version of the svDialogs file save dialog box
Usage
## S3 method for class 'tcltkGUI'
dlg_save(
default = "untitled",
title = "Save file as",
filters = dlg_filters["All", ],
...,
gui = .GUI
)
Arguments
default |
The default file to start with (use |
title |
A title to display on top of the dialog box. |
filters |
A specification of file filters as a |
... |
Not used yet. |
gui |
The 'gui' object concerned by this dialog box. |
Value
The path to the file to save to.
See Also
Examples
library(svDialogstcltk) # Tcl/Tk dialog boxes are now used by default
## Not run:
# Choose one R filename to save some R script into it
dlg_save(title = "Save R script to", filters = dlg_filters[c("R", "All"), ])$res
## End(Not run)
[Package svDialogstcltk version 1.0.0 Index]