[R] (no subject)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sun Sep 14 11:34:54 CEST 2003
On Sun, 14 Sep 2003 huan.huang at bnpparibas.com wrote:
> I was using png() last week and also found it was very slow. But if you
If it is `very slow', there is a problem with your hardware. On my very
modest laptop
> system.time({png();plot(rnorm(100));dev.off()})
[1] 0.24 1.99 2.39 NA NA
> system.time({bitmap("foo.png");plot(rnorm(100));dev.off()})
[1] 1.18 4.31 6.42 NA NA
so I am puzzled by the original claim, too.
> try:
>
> win.metafile('C:/temp/filename.png', width = 9, height = 10)
> plot(rnorm(100))
> dev.off()
>
>
> It will speed up quite a lot. But one thing I don't understand is I
It will not be a png plot, though, so what is the point of that?
You cannot open it in a real Web browser and I can only presume that you
did not try to do so.
--
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
More information about the R-help
mailing list