[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] :session question
From: |
Andreas Leha |
Subject: |
Re: [O] :session question |
Date: |
Thu, 28 Mar 2013 11:25:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Hi Eric,
Eric Schulte <address@hidden> writes:
> Andreas Leha <address@hidden> writes:
>
> [...]
>>
>> Is that just not working for me? And any ideas, what I could do about
>> it?
>>
>
> I have no good ideas. Is the `org-babel-default-header-args:R' variable
> defined on your system before you load this file? If not, maybe you
> should be sure to add
>
> (require 'ob-R)
>
The variable is defined (value is nil). I added the (require 'ob-R) to
my initialization nonetheless, but no avail. The value of
`org-babel-default-header-args:R' stays nil.
> to your emacs initialization. If the ":" in the variable name is
> somehow confusing your Emacs, then possibly you could use the alternate
> format of specifying file local variables (see the info link in my
> attached example).
I tried (the file is below). In this case I even get the question on
unsafe variables.
[...]
Thanks for the suggestions anyway,
Andreas
PS: the file again:
#+begin_org
#+Title: Example
#+Author: Eric Schulte
For more information on file local variables see
[[info:elisp#File%20Local%20Variables][info:elisp#File Local
Variables]].
Because there is a default :session values assigned locally for R
blocks we have the following.
#+begin_src R
x <- 1
x
#+end_src
#+RESULTS:
: 1
#+begin_src R
x
#+end_src
#+RESULTS:
But non-R code blocks do not have a default session value.
#+begin_src sh
date
#+end_src
#+RESULTS:
: Mi 27. Mär 21:18:49 CET 2013
# Local Variables:
# org-babel-default-header-args:R: ((:session . "foo"))
# End:
#+end_org
- Re: [O] :session question, (continued)
- Re: [O] :session question, Eric Schulte, 2013/03/27
- Re: [O] :session question, Andreas Röhler, 2013/03/27
- Re: [O] :session question, Andreas Leha, 2013/03/27
- Re: [O] :session question, Eric Schulte, 2013/03/27
- Re: [O] :session question, Andreas Leha, 2013/03/27
- Re: [O] :session question, Eric Schulte, 2013/03/27
- Re: [O] :session question,
Andreas Leha <=
- Re: [O] :session question, John Hendy, 2013/03/28
- Re: [O] :session question - a simple PATCH, Andreas Leha, 2013/03/28
- Re: [O] :session question - a simple PATCH, Achim Gratz, 2013/03/29
- Re: [O] :session question - a simple PATCH, Eric Schulte, 2013/03/29
- Re: [O] :session question, John Hendy, 2013/03/28
- Re: [O] :session question, Andreas Röhler, 2013/03/27
- Re: [O] :session question, Andreas Leha, 2013/03/27
- Re: [O] :session question, Andreas Röhler, 2013/03/27
Re: [O] :session question, Andreas Röhler, 2013/03/26