[ESS] ESS 13.05 release next week: beta testers welcome

Vitalie Spinu 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:
 > http://cran.r-project.org/doc/manuals/R-ints.html#R-coding-standardsso
 > 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
 > complain.

The solution for those users is to simply

   (setq ess-default-style 'GNU)

or 

   (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.


    Vitalie



More information about the ESS-help mailing list