From ripley at stats.ox.ac.uk  Thu May 12 13:24:17 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu May 12 13:24:27 2005
Subject: [Rd] Windows freezes plotting large line plots (PR#7856)
In-Reply-To: <XFMail.050512120012.Ted.Harding@nessie.mcc.ac.uk>
References: <XFMail.050512120012.Ted.Harding@nessie.mcc.ac.uk>
Message-ID: <Pine.LNX.4.61.0505121223270.29218@gannet.stats>

On Thu, 12 May 2005 Ted.Harding@nessie.mcc.ac.uk wrote:

> On 12-May-05 ripley@stats.ox.ac.uk wrote:
>> This is already addressed in R-patched: we do ask you to check
>> before filing a bug report so as not to waste our time.
>>  (It was also discussed on R-help: see the archives.)
>>
>> It is a bug *in Windows* and not one in R: nothing an application
>> can do should be that fatal (and this is a perfectly legitimate
>> Windows GDI call).  I trust that you will file a bug report in the
>> correct place.
>>
>>> From the CHANGES file:
>>
>>    The support for mitred lines encountered a Windows problem
>>    with a dramatic slowdown if more than 1000 or so segments
>>    were plotted in a polyline.  We now plot in bunches of 1000,
>>    which is less accurate but  works around the Windows problem.
>
> Clearly a neccessary change, even though it is less accurate.
> But does this change apply only to Windows compilations (i.e.
> conditional compilation), or will we all have to put up with it?

It applies only to the windows() device (including win.metafile etc).

-- 
Brian D. Ripley,                  ripley@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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] Windows freezes plotting large line plots (PR#7856)
Prof Brian Ripley