I thought you set the level of indentation with
(setq ess-indent-level 2)
But I keep getting 4 spaces. For instance, I used to write
foo <- function(x)
x + 2
But now, ESS puts the second line 4 spaces away from the left margin
foo <- function(x)
x + 2
Has something changed between the new and old versions? I used to use ESS 5.11 and just upgraded to 13.05(!).
(setq ess-style 'Rstudio)
– Pharynx