[R-SIG-Mac] ESC to stop locator() before hitting the specified number of points
Denis Chabot
chabotd at globetrotter.net
Tue Jun 3 15:20:12 CEST 2008
Thanks Simon, I'm downloading the most recent versions of R2.7.0
Leopard and the R gui right now.
Denis
Le 08-06-03 à 09:05, Simon Urbanek a écrit :
>
> 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
>
>
More information about the R-SIG-Mac
mailing list