R/saveCB.R

Defines functions saveCB

Documented in saveCB

saveCB <-
function(window,OutData) {
#Window to save the output
#' @export
dialog <- gtkFileChooserDialog("Enter a name for the file", window,
"save", "gtk-cancel", GtkResponseType["cancel"], "gtk-save",
GtkResponseType["accept"])
if (dialog$run() == GtkResponseType["accept"])
saveFile(dialog$getFilename(),OutData)
dialog$destroy()
 }

Try the RSCABS package in your browser

Any scripts or data that you put into this service are public.

RSCABS documentation built on May 1, 2020, 9:06 a.m.