choose.file.save {plotAndPlayGTK}R Documentation

GTK file save dialog

Description

Like utils::choose.files but to save a file rather than open one.

Usage

choose.file.save(default = "", caption = "Save File", 
                 filters = Filters[c("All"), ], index = 0)

get.extension(path)
get.stem(path)

Arguments

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

Details

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.

Value

choose.file.save returns the chosen file path, or NA if 'Cancel' was selected.
get.extension and get.stem return character.

Author(s)

Felix Andrews felix@nfrac.org

See Also

Examples



[Package plotAndPlayGTK version 0.8.72 Index]