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