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

Duncan Murdoch murdoch at stats.uwo.ca
Tue Nov 7 12:49:54 CET 2006


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.


Duncan Murdoch



More information about the R-devel mailing list