Re: [O] [babel] Cannot use R and sh

2011-10-20 Thread Bernd Weiss
On 20.10.2011 14:49, Nick Dokos wrote: [...] > AFAIK, the syntax is (note the BABEL and the :session) > > #+BABEL: :session *R* > > With that, I can certainly reproduce what you get and it > is indeed the global session that causes it. If you > want a global session for all the other code block

Re: [O] [babel] Cannot use R and sh

2011-10-20 Thread Nick Dokos
Bernd Weiss wrote: > Hi all, > > when using R and shell commands, the shell commands are sent to the R > buffer. I guess this has something to do with the session argument?! > > # test.org # > > #+property: session *R* > > #+BEGIN_SRC R > ## comment > 1+1 > #+E

[O] [babel] Cannot use R and sh

2011-10-20 Thread Bernd Weiss
Hi all, when using R and shell commands, the shell commands are sent to the R buffer. I guess this has something to do with the session argument?! # test.org # #+property: session *R* #+BEGIN_SRC R ## comment 1+1 #+END_SRC #+results: : 2 #+BEGIN_SRC sh ls -a