[ESS-bugs] Variable name affects indentation

Hendrik Weisser weisser at imsb.biol.ethz.ch
Wed Aug 15 03:15:52 CEST 2012


Hi!

Working with protein expression data, I've noticed that using the 
variable name "expression" breaks the indentation in my R code:

What I expect to see:
expression <- somefunction(longarg1,
                            longarg2)

What happens:
expression <- somefunction(longarg1,
     longarg2)

I.e. the indentation at the level of the opening brackets after a line 
break doesn't work as usual (same for square brackets). I assume this 
has something to do with "expression" being a pre-defined function in R.

It's just a little annoyance, but maybe it could be fixed nonetheless.


Best regards

Hendrik Weisser



More information about the ESS-bugs mailing list