[R] behaviour of plot(...,type="l")

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Oct 23 15:29:26 CEST 2000

Adrian Trapletti <adrian at olsen.ch> writes:

> plot(rnorm(100000),type="l")
> plots only about 7e4 lines while the same without type="l" works fine.
> Is this a feature or a bug or is this configurable?
> R : Copyright 2000, The R Development Core Team
> Version 1.1.1  (August 15, 2000)
> SunOS 5.5.1 Generic_103640-29 sun4u sparc SUNW,Ultra-1

It's a feature of your X-server... Are you sure that isn't ~7e5? The
number of points transferred in a call to XDrawLines appears to be
truncated to 16 bits on some older displays. We've had it reported
before but decided that it was probably too painful to work around in
relation to the magnitude of the problem.

Of course if you want to chip in with a patch...

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
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