(Emacs24.3, MacOSX10.8)
Install
R
sudo port install R
ess-mode
M-x list-package
ess-mode をインストール
init.el
R (ess-mode)
(autoload 'r-mode "ess-site" "Emacs Speaks Statistics mode" t) (setq auto-mode-alist (cons (cons "\\.R$" 'r-mode) auto-mode-alist))
emacs-quickrune
(quickrun-add-command "R" '((:command . "R") (:exec . "%c %o --no-save --slave %a < %s")) :mode 'ess-mode)