plot(..., lab=..) fails in axis() --- wrong "..." propagation (PR#215)

maechler@stat.math.ethz.ch maechler@stat.math.ethz.ch
Tue, 29 Jun 1999 10:47:14 +0200 (MET DST)


> plot(1, lab=c(10,5,7))
Error in axis(side, at, labels, ...) : location and label lengths differ

Reason: lab is one of the "..."  which are passed down to all plots inside
	plot.default, including  axis(1, ...)
	"lab" in axis is interpreted as the "labels" argument
..
Different fixes seem possible,
an easy one:  Make `lab' a new explicit argument of  plot.default().

[I don't have time now]

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._