[R] (no subject)

Johannes Schnitzler schnitzlerj at gmx.de
Sun Sep 14 01:43:07 CEST 2003


Dear all,

for an interactive web application i need to produce a lot of graphics (up
to 50) on demand.
In the moment i'm using the png format.

The png()
...using png(file="Rplot%03d.png", ...); 'plots' ; dev.off()... 
produces very good graphics. The problem is it takes too long to produce the
png files.
The bitmap()
...using bitmap(file="Rplot%03d.png", type="type = "png256",...); 'plots';
dev.off()...
works really fast. But on my system the quality is poor compared with png()
even with a higher resolution than 72.

I'm using R 1.7.0 on Windows NT ; Ghostscript 8.00

1) Is there a possibility to speed up the png() 
    or to improve the quality of the png produced by bitmap()

2) How is it possible to give "names" to the png files (if producing more
than one plot) instead of Name+serial number like Rplot%03d.png 

Any help would be appreciated

Johannes 

schnitzlerj at gmx.de




More information about the R-help mailing list