[Rd] R freezes with text(...., srt = -1e-8) (PR#9347)

Emmanuel Paradis paradis at isem.univ-montp2.fr
Tue Nov 7 16:13:05 CET 2006


Duncan Murdoch wrote:
> On 11/7/2006 5:35 AM, paradis at isem.univ-montp2.fr wrote:
> 
>> Full_Name: Emmanuel Paradis
>> Version: 2.4.0
>> OS: Linux
>> Submission from: (NULL) (193.49.41.124)
>>
>>
>> Adding text to a plot makes R freeze if 'srt' is given a very small 
>> negative
>> value, eg:
>>
>> plot(1, type = "n")
>> text(1, 1, "some text....", srt = -1e-8)
>>
>> But if 'srt = -1e-6' (or smaller) or 'srt = -1e-19' (or greater), this 
>> works.
>>
>> This seems to be OS-dependent: I observed this under Linux but not 
>> under Solaris
>> (I was not able to test under Windows or MacOS).
> 
> 
> This looks like a duplicate of PR#9301, which was fixed a couple of 
> weeks ago according to this NEWS entry:
> 
>     o   Drawing X11 rotated text was buggy for VERY small (negative)
>         angle of rotation.  Reported by Ben Bolker.

Yes! I only checked the Graphics section... (not the Graphics-fixed one).

EP



More information about the R-devel mailing list