From rich@rd@rowe@dr@gonflie@ @ending from gm@il@com  Wed May 16 00:13:51 2018
From: rich@rd@rowe@dr@gonflie@ @ending from gm@il@com (Richard Rowe)
Date: Wed, 16 May 2018 08:13:51 +1000
Subject: [Rd] bug in {graphics} identify()
Message-ID: <CAJSH4L7SA6LVSJUCd7Amsigh_Rk8CkQw35HCOGqqhDtZ16+KRg@mail.gmail.com>

 R3.4.x, R3.5.0, Windows7 64 bit code

{graphics} identify()
is sorting results before returning the vector. As documented it should
return the raw sequence in the order selected ...

"If |pos| is |FALSE|, an integer vector containing the indices of the
identified points, in the order they were identified. "

 X<-rnorm(100)            # 100 random numbers
dim(X)<-c(50,2)          #  making a 50 x 2 matrix to give 50 'fixes' for
now

plot(X, asp=1)            # onto the screen
boundary.points<-identify(X)  # proceed to identify boundary points, right
click and end
boundary.points
# and results are sorted, not in the raw order obtained ...

I'm not on the bugzilla listing, I think my last core bug report was for
chisq in 1998 ...

Richard

	[[alternative HTML version deleted]]



[Rd] bug in {graphics} identify()
Richard Rowe