[R] strange slowness of plot

Duncan Murdoch dmurdoch at pair.com
Wed Jul 25 00:00:42 CEST 2001


On Tue, 24 Jul 2001 14:37:48 -0500, you wrote:

>I just ran into this strange behavior.
>
>     y <- rnorm(1000)
>     x <- seq(0, length=length(y))
>
>     plot(x, y, type='l', lty=1)   - instantaneous
>     plot(x, y, type='l', lty=2)   - 18s plotting lines + 15s plotting axes
>= 33s

... and even longer times for other line types.

I tried this code on my tiny little Libretto (Pentium 120Mhz, 32Mb
ram, 20gb drive) running Win95, and it was noticeably slower doing the
line types other than type 1, but not nearly as slow as described.
I'd suggest you're short of some sort of graphics resource, or there's
a Win2K bug here.

>My system is as follows:
>(1) IBM Intellistation with PIII 1GHz, 512Mb of RDRAM, 20Gb SCSI160 drive,
>64Mb FireGL graphics card
>(2) Windows 2000 Pro
>(3) R-1.3.0 (original version)

Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list