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

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Oct 23 15:10:04 CEST 2000

> Date: Mon, 23 Oct 2000 14:49:54 +0200
> From: Adrian Trapletti <adrian at olsen.ch>
> 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?

{on SunOS 5.5.1)

We've seen this before (I thought there was a bug report on R-bugs,
but could not locate it quickly).

Assuming this is on an X11 device, it's a limitation of the X server.
Many (including Solaris ones) can only handle 64K line segments.

I am sure you don't really want a plot of 10^5 random numbers, and
also that no plot of 10^5 points is going to be intelligible unless there
is a lot of redundancy.

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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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