[R] strange slowness of plot
york at noaa.gov
Wed Jul 25 16:46:07 CEST 2001
I observed similar behavior with a Pentium III running NT4 SP6.
For giggles, I tried the script in Splus; with lty = 2, the plotting was as
fast as with lty = 1. But for lty = 3 and lty =4, the results were
similar. Also, when the plot is being rendered, the system is completely
Anne E. York
National Marine Mammal Laboratory
Seattle WA 98115-0070 USA
e-mail: anne.york at noaa.gov
Voice: +1 206-526-4039
Fax: +1 206-526-6615
On Tue, 24 Jul 2001 apjaworski at mmm.com 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
> plot(x, y, type='l', lty=3) - 76s ,, + 75s
>,, = 151s
> plot(x, y, type='l', lty=4) - 40s ,, + 38s
>,, = 78s
>A couple of observations:
>(1) The plots for lty>1 seem to be rendered in "one chunk", that is a blank
>graphics window appears and stays blank until all the lines appear at once.
>Then another long wait for axes.
>(2) While waiting for the plot, the computer becomes totally unresponsive.
>Typical ctr-alt-del does nothing. Even pushing the power button does
>nothing. I originally attempted the lty=2 plot with several hundred
>thousand observations. The only way I could get my machine back was to
>disconnect the power cord!
>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)
>Engineering Systems Technology Center
>3M Center, 518-1-01
>St. Paul, MN 55144-1000
>E-mail: apjaworski at mmm.com
>Tel: (651) 733-6092
>Fax: (651) 736-3122
>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
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