paradis at isem.univ-montp2.fr
2006-Nov-07 10:35 UTC
[Rd] R freezes with text(...., srt = -1e-8) (PR#9347)
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). EP
Duncan Murdoch
2006-Nov-07 11:49 UTC
[Rd] R freezes with text(...., srt = -1e-8) (PR#9347)
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