From Roger.Bivand at nhh.no  Tue Oct 11 21:17:16 2005
From: Roger.Bivand at nhh.no (Roger Bivand)
Date: Tue, 11 Oct 2005 21:17:16 +0200 (CEST)
Subject: [Rd] Manual page example of plot.window needs fixing
Message-ID: <Pine.LNX.4.44.0510112113370.19419-100000@reclus.nhh.no>

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



[Rd] Manual page example of plot.window needs fixing
Roger Bivand