I am generating multiple plots and would like to save them as jpg or gif files. Could someone tell me which function I shall use? Thanks!
?Devices> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Liu, Jane > Sent: Monday, February 21, 2005 10:14 AM > To: RHELP > Subject: [R] save plot as jpg/gif > > > > I am generating multiple plots and would like to save them as > jpg or gif files. Could someone tell me which function I shall use? > > Thanks! > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read > the posting guide! http://www.R-project.org/posting-guide.html >
On Mon, 21 Feb 2005, Liu, Jane wrote:> I am generating multiple plots and would like to save them as jpg or gif > files. Could someone tell me which function I shall use?jpeg() or bitmap() R does not support GIF files because of the patent difficulties until recently (and possibly still, although the US, European and Japanese patents have expired: http://cloanto.com/users/mcb/19950127giflzw.html) and a preference for PNG (see png()) which can easily be converted to gifs if needed. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595