Description Usage Arguments Examples
This is a wrapper for R's png function. See R's documentation for grDevices::png for further details.
1 |
file |
character string with file name |
Rcss |
style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle() |
Rcssclass |
character, style class |
... |
Further parameters, see documentation of grDevices::png |
1 2 3 4 5 | # send content of graphics to a png file
# to run this, un-comment the png() and dev.off() lines
# png(file="example-file.png")
barplot(1:5)
# dev.off()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.