Based on provided
fileName opens and sets appropriate graphical device: pdf, postscript,
interactive graphical window, or (only on windows) windows metafile,.
Name of the file to store the output to.
Further parameters passed to device.
The function opens the graphical output device based on
The extensions .pdf, .ps, .jpg, .bmp, .tif, .png, .tiff or none select
or a default (interactive) graphical device.
On Windows also .emf extension is supported which opens
and creates vector graphics in windows enhanced metafile format.
The extension .tiff opens
bitmap device which produces bitmap via
Therefore it requires Ghostscript to be installed and on the executable path.
Some sensible default values are passed to created devices, but further options can be
A plot device is opened and nothing is returned to the R interpreter.
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.