savePlot {base} | R Documentation |
Saves the current plot on a windows
device to a file.
savePlot(filename="Rplot", type=c("wmf", "png", "jpeg", "jpg", "bmp", "ps"), device=dev.cur())
filename |
The filename under which to save the plot, without the extension. |
type |
The type of plot, Windows metafile, PNG, JPEG, BMP (Windows bitmap format) or PostScript. |
device |
A device number of a windows device, by default
the current device. |
This is equivalent to selecting the `Save as' menu item on the `File' menu of a devga device.
Using filename
as "clipboard"
or ""
with
type = "wmf"
will copy to the clipboard.
None, but a plot file will be created.
Guido Masarotto, B. D. Ripley