|
Exporting Graphics to a PNG file
Exporting graphics to a PNG file can be achieved via the png function. This is accomplished by:
png("Pathway/Filename.png") plot(x,y) dev.off() EXAMPLE: > png("C:/My Documents/SampleGraphics.png") > plot (Data$x,Data$y) > dev.off() IMPORTANT NOTES:
|