[R] Storing graphics output in PNG format.

Sean Davis sdavis2 at mail.nih.gov
Wed Oct 26 14:44:25 CEST 2005


On 10/26/05 8:40 AM, "A Ezhil" <ezhil02 at 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




More information about the R-help mailing list