[R] Indentation in emacs
sfalcon at fhcrc.org
Thu Jan 12 15:38:16 CET 2006
On 12 Jan 2006, goran.brostrom at gmail.com wrote:
> I'm using emacs-21.4 on debian unstable, together with the latest
> ESS implementation. I try to change indentation to 4 by following
> the advise in "R-exts": It results in the following lines in my
> .emacs file:
> ;; custom-set-variables was added by Custom -- don't edit or
> ;; cut/paste it! Your init file should contain only one such
> ;; instance.
> '(c-basic-offset 4)
> '(c-default-style "bsd")
> '(latin1-display t nil (latin1-disp)))
> ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
> ;; Your init file should contain only one such instance.
> But it doesn't work with R code (with C code it works). So what is
(setq ess-indent-level 4)
You may also be interested in the ESS mail list (a better place for
ESS-help at stat.math.ethz.ch mailing list
More information about the R-help