[ESS] How to control indentation in an R function?

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Thu Nov 26 15:08:01 CET 2009

hi Michael,

> If you know what I'm doing wrong, please let me know.

Could you try the following (I think our customize is not working)

(defun myindent-ess-hook ()
  (setq ess-indent-level 4))

(add-hook 'ess-mode-hook 'myindent-ess-hook) 

Put that in .emacs and restart Emacs.

More information about the ESS-help mailing list