Re: [R] Storing graphics output in PNG format.

From: Sean Davis <sdavis2_at_mail.nih.gov>
Date: Wed 26 Oct 2005 - 22:44:25 EST


On 10/26/05 8:40 AM, "A Ezhil" <ezhil02@yahoo.com> wrote:

> Dear All,
>
> How can I store hist() or any plot output graphics in
> PNG format? I tried with bitmap() but not getting the
> result. Appreciate your help on fixing this.

help.search('png')

Or

?png

Gets you the answer.

png('file.png')
hist(x)
dev.off()

Sean



R-help@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 Received on Wed Oct 26 22:53:23 2005

This archive was generated by hypermail 2.1.8 : Thu 27 Oct 2005 - 00:38:56 EST