Skip to content
Back to formatted view

Raw Message

Message-ID: <20030623155026.GA15975@pcf004.jinr.ru>
Date: 2003-06-23T15:50:27Z
From: Timur Elzhov
Subject: saving plots
In-Reply-To: <5.0.0.25.2.20030623110450.026b34b0@imcs.rutgers.edu>

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