Description Usage Arguments Examples
Parser for dev.copy to save as PDF or PNG
1 | ww.dev.copy(PNG_ = FALSE, PNG_res = 100, w_, h_, fname_)
|
PNG_ |
Set to true if you want to save the plot as PNG instead of the default PDF. |
PNG_res |
default 100 |
w_ |
Width of the saved pdf image, in inches. |
h_ |
Height of the saved pdf image, in inches. |
fname_ |
File name |
1 | try.dev.off(); plot(1); # ww.dev.copy(PNG = FALSE, w_ = 7, h_ = 7, fname_ = "myNewplot")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.