[ESS] ESS 13.05 release next week: beta testers welcome
spinuvit at gmail.com
Mon May 13 21:43:19 CEST 2013
>> Kasper Daniel Hansen <kasperdanielhansen at gmail.com>
>> on Mon, 13 May 2013 09:52:08 -0400 wrote:
> Using 4 spaces is following the R coding standards from R internals:
> it is not exactly coming from out of nowhere. I have been following
> these standards for many years, but most of my collaborators use a
> default ess setup and then we have the 2 vs 4 indentation issue.
> I support the change, but I agree that many users will perhaps
The solution for those users is to simply
(setq ess-default-style 'GNU)
(setq ess-indent-level 2)
before loading ESS.
There is also a handy "C-c ." to switch styles in ESS buffers. We can be
very loud about this change in release announcement.
I think the damage is outweighed by the advantages the change brings,
namely recommended uniform indentation defaults and Vincent's
distribution respecting global user settings.
More information about the ESS-help