Next: Using Greek letters and
Up: Graphics and output
Previous: Saving graphics as pdf
Saving graphics in other formats in R
- To save as a png file:
>png("file.png")
... graphics code ...
>dev.off()
- To save as a jpeg file:
>jpeg("file.jpeg")
... graphics code ...
>dev.off()
Keywords: R, graphics, save, files
Last modified 4/2/06.
Chris Paciorek
2006-04-02