search for: do_text

Displaying 2 results from an estimated 2 matches for "do_text".

Did you mean: do_test
1999 Sep 27
0
text( col=, cex=, font=) : doesn't allow more than length-1 arg (PR#287)
...A toy example, showing what is desired plot(1);text(1.2, .8+(0:5)/16, LETTERS[6:1]) ## works alright plot(1);text(1.2, .8+(0:5)/16, LETTERS[6:1],col=1:6) ##>>> Error in par(args) : parameter "col" has the wrong length --- Explanation: The source code is in src/main/plot.c in do_text(), and from reading it, "col" (& "cex" & "font") are extracted via GetPar() (and later would nicely be recycled). HOWEVER, the ProcessInlinePars() called after the three GetPar() gives the error message, because "col" (cex, or font) are still part of...
2004 Nov 24
2
text() with invalid argument type crashes RGui.exe
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. plot(1:10) loc <- list(x = 5, y = 6) text(loc, labels = "a") No