[R-SIG-Mac] Tab setting in R.app editor
Marc Schwartz
marc_schwartz at me.com
Sat Jun 9 23:29:57 CEST 2012
On Jun 9, 2012, at 3:56 PM, David Winsemius wrote:
>
> On Jun 9, 2012, at 11:11 AM, David Winsemius wrote:
>
>>
>> On Jun 9, 2012, at 5:03 AM, Hans-Jörg Bibiko wrote:
>>
>>>
>>> On Jun 9, 2012, at 2:05 AM, zListserv wrote:
>>>
>>>> Is there a way to change to default tab stop setting from the present 4 characters (stops at 5, 9, etc) to 8 characters (stops at 9, 17, etc)?
>>>
>>> Yes,
>>>
>>> you can set it by executing the following line in the Terminal:
>>>
>>> defaults write org.R-project.R "R Script Editor tab width" 8
>>
>> Thanks, Hans for that taste of customization. And thanks for all your work on R.app.
>>
>> Is there a more general list of features that could be adjusted? Is the Script Editor built on a platform that is more generally used and might have external documentation?
>
> After looking around a bit more it looks to me that the Script Editor is its own entity. I found this list of PreferenceKeys in which "R Script Editor tab width" is one instance:
>
> https://svn.r-project.org/R-packages/trunk/Mac-GUI/PreferenceKeys.h
>
> Am I correct in assuming these are stored in a .plist file?
David,
Looks like it might be:
~/Library/Preferences/org.R-project.R.plist
The Property List Editor application that used to be included in OSX has been integrated into XCode, AFAICS, which makes it a bit more cumbersome to edit the file.
Regards,
Marc Schwartz
More information about the R-SIG-Mac
mailing list