[R-SIG-Mac] ESC to stop locator() before hitting the specified number of points

Denis Chabot chabotd at globetrotter.net
Tue Jun 3 03:02:55 CEST 2008


Hi,

I thought (and the help confirms this belief) that ESC was one way to  
get out of a locator call before reaching the number of points  
specified in the call. I cannot get this to work on my MacBook Pro  
with 10.5.3. Here is the session info:

 > sessionInfo()
R version 2.7.0 Patched (2008-05-07 r45642)
i386-apple-darwin9.2.2

locale:
fr_CA.UTF-8/fr_CA.UTF-8/C/C/fr_CA.UTF-8/fr_CA.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

 > plot(1:10)
 > locator(n=3)

No way to get out of locator without clicking 3 times on the plot.

Am I doing something wrong (I tried ESC, shift-ESC, command-ESC,  
control-ESC, option(Alt)-ESC, to no avail (except that one of them  
starts Front Row!). Are you able to ESC from locator?

Sincerely,

Denis Chabot



More information about the R-SIG-Mac mailing list