I installed org-mode seperately, since I had troubles with its default setting (similar to the problems described here).
sudo apt-get install org-mode
Next I download and installed ESS
Finally I had to add the following lines to my
(add-to-list 'load-path "~/.emacs.d/ess-12.09-1/lisp")
'((R . t)))
and to my
old options(defaultPackages = c(old, "tikzDevice"))
For testing open a new file with emacs:
and add the following code block:
C-c C-c to execute the code. See the org-mode documentation for more information.