[R] saving plots

Timur Elzhov Timur.Elzhov at jinr.ru
Mon Jun 23 17:50:27 CEST 2003


On Mon, Jun 23, 2003 at 11:07:15AM -0400, Matt Oliver wrote:

> Hi all, I am have an R script that makes many plots, and I would like to 
> string them into a movie file. To do that I have to save all of my plots as 
> jpegs or gifs. I don't want to go through all of my plots and save them by 
> hand though. Is there a way to automate saving the plots as a gif or a jpeg 
> so I can string them into a movie?
?dev.copy is probably that you want.

dev.copy(device = jpeg)
dev.off()

--
WBR,
Timur




More information about the R-help mailing list