| choose.file.save {plotAndPlayGTK} | R Documentation |
Like utils::choose.files but to save a file rather than open one.
choose.file.save(default = "", caption = "Save File",
filters = Filters[c("All"), ], index = 0)
get.extension(path)
get.stem(path)
default |
which filename to show initially. |
caption |
the caption on the file selection dialog. |
filters |
a matrix of filename filters (see utils::choose.files). |
index |
which row of filters to use by default. |
path |
file path (character). |
choose.file.save is a wrapper around gtkFileChooserDialog.
get.extension returns the extension part of a filename;
get.stem returns the rest of the basename.
These were written by Graham Williams.
choose.file.save returns the chosen file path, or NA if 'Cancel' was selected.
get.extension and get.stem return character.
Felix Andrews felix@nfrac.org