Re: [Rd] text() with invalid argument type crashes RGui.exe

2004-11-24 Thread Roger Bivand
On Wed, 24 Nov 2004, P Ehlers wrote: > Dear Rexperts: > > (R 2.0.1 on Windows XP Pro) > > Is the following problem unique to my setup? > If it's a known problem, I didn't see it at > http://bugs.r-project.org/ nor find discussion in the archives. > > plot(1:10) > loc <- c(5, 6) > text(loc, labe

Re: [Rd] text() with invalid argument type crashes RGui.exe

2004-11-24 Thread Prof Brian Ripley
It's general (on all platforms), and the internal code for text.default needs a safety check. On Wed, 24 Nov 2004, P Ehlers wrote: Dear Rexperts: (R 2.0.1 on Windows XP Pro) Is the following problem unique to my setup? If it's a known problem, I didn't see it at http://bugs.r-project.org/ nor fin

[Rd] text() with invalid argument type crashes RGui.exe

2004-11-24 Thread P Ehlers
Dear Rexperts: (R 2.0.1 on Windows XP Pro) Is the following problem unique to my setup? If it's a known problem, I didn't see it at http://bugs.r-project.org/ nor find discussion in the archives. plot(1:10) loc <- c(5, 6) text(loc, labels = "a") Produces expected results according to ?xy.coords. pl