Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.64.0604211057230.10522@gannet.stats.ox.ac.uk>
Date: 2006-04-21T10:01:00Z
From: Brian Ripley
Subject: plot.default 'ylim' error message is wrong (PR#8784)
In-Reply-To: <20060421094013.B0FCB19B9F@slim.kubism.ku.dk>

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