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

From: <prechelt_at_inf.fu-berlin.de>
Date: Fri 21 Apr 2006 - 09:40:13 GMT


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



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Apr 21 19:42:50 2006

This archive was generated by hypermail 2.1.8 : Fri 21 Apr 2006 - 12:18:35 GMT