For the current device, or for the device identified, save the plot displayed there in some way. This is either saved to file, copied to the clipboard for pasting into other applications, or sent to the printer for saving a hard copy.
savePlotToFile(file.name, dev.num=dev.cur())
copyPlotToClipboard(dev.num=dev.cur())
printPlot(dev.num=dev.cur())
Character string naming the file including the file name extension which is used to specify the type of file to save.
A device number indicating which device to save.
Package home page: https://rattle.togaware.com