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

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Apr 21 12:01:00 CEST 2006


On Fri, 21 Apr 2006, prechelt at inf.fu-berlin.de wrote:

> 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:

On 2.3.0RC it does

> plot(0, 0, xlim=c(3, 5), ylim=c(0, 10, 17))
Fehler in plot.window(xlim, ylim, log, asp, ...) :
         ungültiger 'ylim' Wert

so it seems it was already solved.


>  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


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-devel mailing list