Description Usage Arguments Details Value
A function for saving the last displayed plot as a png, jpeg, or pdf.
1 |
filename |
String, file name/filename of plot. |
path |
String, path to save plot to (if you just want to set path and not filename). If NULL(default), uses working directory. |
width |
Numeric, width. Default is 10. |
height |
Numeric, height. Default is 7.5. |
units |
Numeric, units for image width and height when either one is explicitly specified (in, cm, or mm), default is "in". |
dpi |
Integer, dpi to use for plotting. Default is 300. |
Default output format width and height are set for PowerPoint presentations
Saves a file of the last displayed plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.