From ripley at stats.ox.ac.uk  Tue Oct 11 21:44:44 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 11 Oct 2005 20:44:44 +0100 (BST)
Subject: [Rd] Manual page example of plot.window needs fixing
In-Reply-To: <Pine.LNX.4.44.0510112113370.19419-100000@reclus.nhh.no>
References: <Pine.LNX.4.44.0510112113370.19419-100000@reclus.nhh.no>
Message-ID: <Pine.LNX.4.61.0510112042050.26670@gannet.stats>

Yes, thanks will fix in R-patched shortly.

Some grep-ing shows that there is another example in optim.Rd.

On Tue, 11 Oct 2005, Roger Bivand wrote:

> I was looking at the example on the manual page of plot.window, and
> noticed that it needs fixing - names(eurodist) should now be
> labels(eurodist):
>
> --- /home/rsb/topics/R-2.2.0/src/library/graphics/man/plot.window.Rd
> 2005-04-18 12:18:59.000000000 +0200
> +++ plot.window.Rd      2005-10-11 21:08:57.000000000 +0200
> @@ -48,6 +48,6 @@
> ry <- range(y <- -loc[,2])
> plot(x, y, type="n", asp=1, xlab="", ylab="")
> abline(h = pretty(rx, 10), v = pretty(ry, 10), col = "lightgray")
> -text(x, y, names(eurodist), cex=0.8)
> +text(x, y, labels(eurodist), cex=0.8)
> }
> \keyword{aplot}
>
> with reference to Prof. Ripley's message of 5 May:
>
> http://finzi.psych.upenn.edu/R/Rhelp02a/archive/55417.html
>
> -- 
> Roger Bivand
> Economic Geography Section, Department of Economics, Norwegian School of
> Economics and Business Administration, Helleveien 30, N-5045 Bergen,
> Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
> e-mail: Roger.Bivand at nhh.no
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

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



[Rd] Manual page example of plot.window needs fixing
Prof Brian Ripley