:mode ("\\.R\\'" . ess-r-mode)
:bind (:map ess-mode-map
("C-c C-R" . dla/ess-region-remote-eval))
+ :init
+ (autoload 'ess-r-mode "ess-site" nil t)
+ (autoload 'R "ess-site" nil t)
:config
+ ; actually load the rest of ess
+ (require 'ess-site)
(defun ess-change-directory (path)
"Set the current working directory to PATH for both *R* and Emacs."
(interactive "Directory to change to: ")