emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [org-babel] Using the power of ESS inside an R source code blo


From: Bernd Weiss
Subject: [Orgmode] [org-babel] Using the power of ESS inside an R source code block
Date: Sun, 24 Oct 2010 05:44:32 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5

Dear all,

Yesterday, I spent some time (re-)discovering the power of org-babel and R. Everything works well but there is one issue that I find somewhat annoying (I apologise if this word is too rude). As a long-time ESS user I wish that I could use things like ESS syntax highlighting, indentation or some keybindings (e.g. for "<-") inside an R source code block. However, with respect to an e-mail from Eric Schulte

http://www.mail-archive.com/address@hidden/msg22301.html

(or this one: https://stat.ethz.ch/pipermail/ess-help/2009-September/005544.html )

this seems to be a feature wich is hard to realise inside org-babel. Is this (still) correct? Or is it a problem with my installation/initialisation of org-mode/org-babel?[1]

Thanks,

Bernd


[1] This is the org-mode part in my .emacs:

;; The following lines are always needed.  Choose your own keys.
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)

(global-font-lock-mode 1)                     ; for all buffers
(add-hook 'org-mode-hook 'turn-on-font-lock)  ; Org buffers only
;;(setq org-ditaa-jar-path "D:/programme/emacs/site-lisp/org-mode/contrib/scripts/ditaa.jar")

(setq org-directory "e:/projects/org/")
        
(setq org-confirm-babel-evaluate nil)

;; active Babel languages
(setq org-babel-load-languages
        (quote ((emacs-lisp . t)
                (R . t)
                (python . t)
                        )
                )
        )

(setq org-src-fontify-natively t)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]