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? Thanks in advance Matt Oliver ============================== When you reach an equilibrium in biology, you're dead. - A. Mandell ============================== Matthew J. Oliver Institute of Marine and Coastal Sciences 71 Dudley Road, New Brunswick New Jersey, 08901 http://marine.rutgers.edu/cool/
saving plots
4 messages · Matt Oliver, Uwe Ligges, Timur Elzhov +1 more
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?
See ?Devices. You might have a jpeg() Device available (for sure on Windows). Uwe Ligges
Thanks in advance Matt Oliver ============================== When you reach an equilibrium in biology, you're dead. - A. Mandell ============================== Matthew J. Oliver Institute of Marine and Coastal Sciences 71 Dudley Road, New Brunswick New Jersey, 08901 http://marine.rutgers.edu/cool/
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
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
You might want to look at recordPlot(). While the script is running record the plots using recordPlot(). Afterwards replay them with the jpeg device active. -Don
At 11:07 AM -0400 6/23/03, 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? Thanks in advance Matt Oliver ============================== When you reach an equilibrium in biology, you're dead. - A. Mandell ============================== Matthew J. Oliver Institute of Marine and Coastal Sciences 71 Dudley Road, New Brunswick New Jersey, 08901 http://marine.rutgers.edu/cool/
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
-------------------------------------- Don MacQueen Environmental Protection Department Lawrence Livermore National Laboratory Livermore, CA, USA