emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernd Weiss <bernd.weiss@uni-koeln.de>
To: emacs-orgmode@gnu.org
Subject: [org-babel] Using the power of ESS inside an R source code block
Date: Sun, 24 Oct 2010 05:44:32 -0400	[thread overview]
Message-ID: <4CC40000.3090508@uni-koeln.de> (raw)

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/emacs-orgmode@gnu.org/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	other threads:[~2010-10-24  9:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-24  9:44 Bernd Weiss [this message]
2010-10-24 10:12 ` [org-babel] Using the power of ESS inside an R source code block Bernd Weiss
2010-10-25 14:29   ` Eric Schulte
2010-10-26 14:05     ` Dan Davison
2010-10-27  0:35       ` Bernd Weiss
2010-10-27  7:51         ` Sébastien Vauban
2010-10-27  8:54         ` Dan Davison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CC40000.3090508@uni-koeln.de \
    --to=bernd.weiss@uni-koeln.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).