[R] Bug in identify() ?
Rolf Turner
rolf at maths.uwa.edu.au
Thu Nov 1 10:55:31 CET 2001
If I execute, e.g.
> x <- round(runif(20,0,1),2)
> y <- round(runif(20,0,1),2)
> plot(x,y,xlim=c(0,1),ylim=c(0,1))
> identify(x,y,n=1,plot=F)
then I get the index of the identified point printed in the
command window, and ***initially*** the index is NOT displayed
in the graphics window (which is the behaviour I had hoped
and expected to obtain by setting ``plot=F'').
BUT THEN if I lower and then raise the graphics window, poof!!!
the index appears, unwanted, in the plot.
I think a workaround is to issue the identify command
as
> identify(x,y,n=1,col=0)
but still, shouldn't the function work as advertized?
Version information:
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 3.1
year 2001
month 08
day 31
language R
cheers,
Rolf Turner
rolf at math.unb.ca
P. S. I'm sending this message to r-help rather than submitting
a bug report, because when I previously tried the latter I was
met with a deafening silence, and I'm not at all sure that my
bug report got through --- I ***thought*** I had the address right,
and the message didn't bounce .....
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list