On Jun 2, 2008, at 9:02 PM, Denis Chabot wrote:

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?


Yes, if you use a more recent R-patched (r45743 from 5/20 or later). Previous versions react only to <Ctrl><Click>, later ones react to both <Esc> and <Ctrl><Click>.

Cheers,
Simon

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to