powered by
This is a wrapper for R's png function. See R's documentation for grDevices::png for further details.
png(file, Rcss = "default", Rcssclass = NULL, ...)
character string with file name
style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle()
character, style class
Further parameters, see documentation of grDevices::png
# NOT RUN { # 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() # }
Run the code above in your browser using DataLab