[Rd] plot.default 'ylim' error message is wrong (PR#8784)

prechelt at inf.fu-berlin.de prechelt at inf.fu-berlin.de
Fri Apr 21 11:40:13 CEST 2006


Full_Name: Lutz Prechelt
Version: 2.2.1
OS: WinXP SP2
Submission from: (NULL) (130.133.8.114)


This command

  plot(0, 0, xlim=c(3, 5), ylim=c(0, 10, 17))

should complain about 'ylim' (because it has three elements).
However, it does in fact (in my german error message at least)
complain about 'xlim' instead:

  Fehler in plot.window(xlim, ylim, log, asp, ...) : 
	ungültiger 'xlim' Wert

I spent about fifteen minutes debugging my trivial xlim
argument before I found this. Shows my general trust in R,
I guess. It is a great system.
Version 2.2.1  (2005-12-20 r36812)

  Lutz Prechelt



More information about the R-devel mailing list