Re: [Rd] segfault in plot(x, y, col = aFactor) (PR#9221)

From: <>
Date: Tue 12 Sep 2006 - 15:18:48 GMT

Thank you, Bjørn-Helge.
A shorter version is

   plot(1:500, col = gl(2,250))

Interestingly, with much shorter vectors of length (n), the correct warning is produced (n times).
And once that has happened, you can use longer vectors without any problem.

As you said ``issued just after starting R'' seems quite relevant.

When run in 'R -d gdb', the backtrace ("bt") seems to indicate that the problem is happening during the (C-level) warning() call.

Martin mailing list Received on Wed Sep 13 04:27:29 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 12 Sep 2006 - 19:30:07 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.