[ESS] Indenting of R code, particularly dplyr code.

Patrick Connolly p_conno||y @end|ng |rom @||ng@hot@co@nz
Wed Oct 7 11:09:15 CEST 2015

On Wed, 07-Oct-2015 at 10:23AM +0200, Lionel Henry wrote:

|> Hello Patrick,
|> > On 7 oct. 2015, at 08:26, Patrick Connolly <p_connolly using slingshot.co.nz> wrote:
|> > 
|> > I seldom update ESS since an old version does everything I need.
|> I think the behaviour you see was a really old bug fixed by
|> Vitalie at some point. Does 15.03 indent correctly?

No, it doesn't.  My idea of "correct" is the first example I gave.
Was it an old bug that produced the second example?  I could live with
that better than the third example.

|> I guess you really should update your ESS version. The
|> indentation code got completely rewritten in the last version.

If I can't customize it to indent only two characters, I'll keep my
ancient version.  4 characters is too much indentation.

|> Lionel

   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt

More information about the ESS-help mailing list