[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] :session question
From: |
Eric Schulte |
Subject: |
Re: [O] :session question |
Date: |
Tue, 26 Mar 2013 06:37:35 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>>
>> Question from here:
>>
>> I use mainly R and have there set file wide
>>
>> #+PROPERTY: session "R-session"
>>
>> But I also have bash code, which would be evaluated in the R session, unless
>> I use
>>
>> #+begin_src sh :session sh-session
>> ...
>> #+end_src
>>
>> But I do not need a session for the bash code blocks - so would :session
>> "none" disable session
>> for this source block?
>> This would be great!
>>
Yes
>>
>> Also: it would be quite nice if one could set the session argument specific
>> for languages, so that
>> I could file wide
>>
>> #+PROPERTY: R-session "R"
>> #+PROPERTY: sh-session "sh"
>>
>
> +1
>
This can be done system wide by setting the language-specific header
arguments. This can also be done file-wide through the use of file
local variables (instead of the property line above).
Please read through the header argument documentation to see the many
different ways in which header arguments may be set.
http://orgmode.org/manual/Using-header-arguments.html
Best,
>
> [...]
>
> Regards,
> Andreas
>
>
--
Eric Schulte
http://cs.unm.edu/~eschulte
- [O] :session question, Andreas Röhler, 2013/03/25
- Re: [O] :session question, Michael Gauland, 2013/03/25
- Re: [O] :session question, Eric Schulte, 2013/03/25
- Re: [O] :session question, Andreas Röhler, 2013/03/26
- Re: [O] :session question, Rainer M Krug, 2013/03/26
- Re: [O] :session question, Andreas Leha, 2013/03/26
- Re: [O] :session question,
Eric Schulte <=
- Re: [O] :session question, Andreas Leha, 2013/03/26
- Re: [O] :session question, Achim Gratz, 2013/03/26
- Re: [O] :session question, Eric Schulte, 2013/03/26
- Re: [O] :session question - header argument setting, Rainer M Krug, 2013/03/27
- Re: [O] :session question - header argument setting, Sebastien Vauban, 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, Andreas Röhler, 2013/03/27
- Re: [O] :session question, Nick Dokos, 2013/03/27
- Re: [O] :session question, Andreas Röhler, 2013/03/27