Andreas Röhler <address@hidden> writes:
Am 26.03.2013 16:31, schrieb Eric Schulte:
Achim Gratz <address@hidden> writes:
Am 26.03.2013 13:37, schrieb Eric Schulte:
This can be done system wide by setting the language-specific header
arguments.
I've yet to see an example on how to do this.
#+begin_src emacs-lisp
(setq org-babel-default-header-args:R
'((:session . "org-R")))
#+end_src
#+RESULTS:
| (:session . org-R) |
#+begin_src R
x <- 1
x
#+end_src
#+RESULTS:
: 1
#+begin_src R
x
#+end_src
#+RESULTS:
: 1
Hi,
this looks very confusing for me.
So, what is the purpose of a named session?
Understood it being a name-space, whose values don't affect the other ones.
What's in python-mode a dedicated shell.
I can't speak for python, but in R, every differently named session will
run within its own R process.
The cool thing is, that I can work on file_foo.org and file_bar.org
simultaneously, when file_foo.org uses R-session *foo* and file_bar.org
uses R-session *bar*.
[...]
Regards,
Andreas