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", "pdf"),
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), PostScript or PDF. |
device |
A device number of a |
This is equivalent to selecting the ‘Save as’ menu item on the
‘File’ menu of a windows
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
windows
, dev.print