This seems a question for the ESS-help list.
But you should be using Emacs customization these days: I have in my
in custom-set-variables, and that is what the 'R Internals' manual
says for Emacs >= 21. (You can set that from the 'Customize Emacs'
menu item, Programming, Languages, C group.)
But you should be using Emacs customization these days: I have in my .emacs
in custom-set-variables, and that is what the 'R Internals' manual says for Emacs >= 21. (You can set that from the 'Customize Emacs' menu item, Programming, Languages, C group.)
On Tue, 17 Feb 2009, Göran Broström wrote:
> ;;; C
> (add-hook 'c-mode-hook
> (lambda () (c-set-style "bsd")))
> ;;; ESS
> (add-hook 'ess-mode-hook
> (lambda ()
> (ess-set-style 'C++ 'quiet)
> (add-hook 'local-write-file-hooks
> (lambda ()
> (setq ess-nuke-trailing-whitespace-p 'ask)
> ;;; Perl
> (add-hook 'perl-mode-hook
> (lambda () (setq perl-indent-level 4)))
> Two points given that the standard really has changed: (i) The text in "R
> coding standards" should be changed accordingly.
> (ii) How do I get back to a
> basic indentation of 4 in C and R code?
Follow the above.
> >> sessionInfo()
> attached base packages:
>  stats graphics grDevices utils datasets methods base
>> R-devel_at_r-project.org mailing list
-- Brian D. Ripley, ripley_at_stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595Received on Wed 18 Feb 2009 - 03:53:04 GMT
______________________________________________ R-devel_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Archive maintained by Robert King, hosted by
the discipline of
statistics at the
University of Newcastle,
Archive generated by hypermail 2.2.0, at Wed 18 Feb 2009 - 10:30:26 GMT.
Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.
list of date sections of archive