emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Help: Getting ESS key binding to work with a R code block in o


From: Sunny Srivastava
Subject: [Orgmode] Help: Getting ESS key binding to work with a R code block in org-mode
Date: Sun, 21 Nov 2010 14:11:47 -0500

Hello Org-moders,
I have been a very happy ESS user so far. Recently, I was introduced to org-mode and I am still a beginner. 

I am trying to write a research paper using the literate programming style of org-babel-R, instead of Sweave, and the journey has been OK so far. I have a very lame question related to this, so please bear with me.

I am used to the ESS key-bindings, however they don't work properly in the code block (begin_src R ... end_src). I googled and found that it is recommended to use C-c ` to edit the source code in an Org-tmp buffer. However, there are a few issues related to this:

1. Let's say I have a code block which contains some code in it. When I do C-c ` a temporary buffer opens up but it doesn't include the R code that was in the code block.
2. The temporary buffer for editing R code doesn't associate itself with ESS, ie the key-bindings don't work. (I am addicted to the "smart _" key  binding of ESS as well I am facing problems indenting the code using C-M-\)

Any help or pointers is much appreciated.

Thanks to Eric and other developers for implementing such a great idea. 


Version: 7.3 (release_7.3-89-g97f4c
 

reply via email to

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