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

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri 21 Apr 2006 - 10:01:00 GMT

On Fri, 21 Apr 2006, prechelt@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@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


______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Received on Fri Apr 21 20:10:41 2006

This archive was generated by hypermail 2.1.8 : Fri 21 Apr 2006 - 14:18:52 GMT