After I use function plot() to get an image, how can I save the image or export it to .gif or other digital formats? Thanks a lot.
Maybe you could just PrintScreen or use the pdf() function which uses one or several pdf files instead of the default graphical device.> After I use function plot() to get an image, how can I > save the image or export it to .gif or other digital > formats? > > > Thanks a lot. >-- ------------------------------------------------------- Pedro Pereira Rodrigues http://www.dcc.fc.up.pt/~prodrigues/ Artificial Intelligence and Data Analysis Group Artificial Intelligence and Computer Science Laboratory (+351)226078830 - Ext: 121 University of Porto
On Windows, use the `File' menu. On other platforms, see the help page for dev.copy, png, jpeg, and bitmap. HTH, Andy> From: Susan Lin > > After I use function plot() to get an image, how can I > save the image or export it to .gif or other digital > formats? > > > Thanks a lot. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments,...{{dropped}}
Try this: jpeg("file1.jpg") plot(rnorm(20)) dev.off() and check the jpg file created by this. Also, check help files: ?jpeg ?postscript ?png On Fri, 27 Feb 2004, Susan Lin wrote:> After I use function plot() to get an image, how can I > save the image or export it to .gif or other digital > formats? > > > Thanks a lot. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > >Paulo Justiniano Ribeiro Jr Departamento de Estat?stica Universidade Federal do Paran? Caixa Postal 19.081 CEP 81.531-990 Curitiba, PR - Brasil Tel: (+55) 41 361 3471 Fax: (+55) 41 361 3141 e-mail: pj at est.ufpr.br http://www.est.ufpr.br/~paulojus
On Fri, Feb 27, 2004 at 08:05:10AM -0800, Susan Lin wrote:> After I use function plot() to get an image, how can I > save the image or export it to .gif or other digital > formats??device -- WBR, Timur
Try the FAQ http://cran.r-project.org/faqs.html Or one of the manuals http://cran.r-project.org/faqs.html But first read the posting guide http://www.R-project.org/posting-guide.html> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Susan Lin > Sent: Friday, February 27, 2004 9:05 AM > To: R-help at stat.math.ethz.ch > Subject: [R] How to save images? > > > After I use function plot() to get an image, how can I > save the image or export it to .gif or other digital > formats? > > > Thanks a lot. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo> /r-help > PLEASE > do read the posting guide! > http://www.R-project.org/posting-guide.html > >