[ESS] indentation after an incomplete assignment?

Michael Hannon jm_hannon at yahoo.com
Sun Jun 5 01:33:11 CEST 2011


> Is there a way to make the indentation of an assigning expression
> using `=` similar to the one using `<-`? e.g.
>
> when we use =, we get this:
>
> a = c(1, 2,
> 3, 4)
>
> but <- leads to this:
>
> a <- c(1, 2,
>           3, 4)
>
> is there a way to let ESS indent like this?
>
> a = c(1, 2,
>         3, 4)

Hi, Yihui.  I don't know the answer to your question (except to offer the
opinion that it seems there is ALWAYS a way to get Emacs to what you want ;-),
But is there some reason you can't just use the '<-' construct?

-- Mike



More information about the ESS-help mailing list