Re: [Rd] problem in contour/contourLines (PR#9205)

From: Prof Brian Ripley <>
Date: Tue 05 Sep 2006 - 20:50:34 GMT

It says

/* maximal number of line segments of one contour segment:

so it would be very helpful to have a reproducible example. Please also let us have exact details of how you compiled R (CPU, compiler versions, optimization level ...).

I have tracked a couple of things like this down to extended floating point issues on ix86 chips, so it may very well be that this is an issue of stopping an infinite loop.

(25000 segments is very large: a space filling graph on a 50x50 grid only needs about that many.)

On Tue, 5 Sep 2006, wrote:

> Full_Name: Dominik Heide
> Version: 2.3.1
> OS: Linux (Suse 9.3)

On which CPU?

> Submission from: (NULL) (
> The contour functions has sommewhere (I think in .../main/plot3d.c) a
> maximum number of line segments that is set using a define. The contour
> line in my data too long for this and therefore not correct analysed (I
> get the message 'contour(): circular/long seglist --!').
> Since I can't analyse my data right now, it's mybe better to give the
> maximum seg-number as an option ?!

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Wed Sep 06 06:56:54 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 Wed 06 Sep 2006 - 11:39:29 GMT.

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