savePlotToFile | R Documentation |
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())
file.name |
Character string naming the file including the file name extension which is used to specify the type of file to save. |
dev.num |
A device number indicating which device to save. |
Package home page: https://rattle.togaware.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.