[R] Automatic paren/bracket closing in 2.5.0?
Adam D. I. Kramer
adik at ilovebacon.org
Mon Jun 18 18:54:00 CEST 2007
Many thanks, Duncan. I did not expect this to be an OS-specific issue, and
figured it must be the new "default" and thus configurable from within the
program, though indeed I am using MacOS.
--Adam
On Mon, 18 Jun 2007, Duncan Murdoch wrote:
> On 18/06/2007 12:30 AM, Adam D. I. Kramer wrote:
>> Hello,
>>
>> Just upgraded to 2.5.0, and found that R now includes an rparen
>> (right parentheses) or rbracket whenever I enter in an lparen. While I can
>> see the use of this function, it doesn't mesh well with my personal style
>> of
>> using R (e.g., using the up arrow, adding an rparen, jumping to the
>> beginning of the line, and then wrapping a summary, for instance).
>>
>> Some 10 minutes of google searching has failed to come up with a solution
>> for turning this feature off--any suggestions from the list?
>
> You don't say your OS. If it's MacOSX (which I think is the only platform
> with this feature), then see the R-sig-mac list, and in particular Simon
> Urbanek's posting on May 23:
>
>> On May 23, 2007, at 3:55 PM, Roberto Osorio wrote:
>>
>>> > I can't find a preference to disable brace completion in the > console
>>> in R 2.5.0 GUI 1.19.
>>
>> Unfortunately it didn't make it to the Preferences UI, so you have to
>> paste this in Terminal:
>>
>> defaults write org.R-project.R auto.close.parens NO
>>
>> If you want to revert back to the default you can use:
>>
>> defaults delete org.R-project.R auto.close.parens
>>
>>
>
> Duncan Murdoch
>
More information about the R-help
mailing list