Tab setting in R.app editor
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