From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Re: [babel] disable :session for a code block?
Date: Sun, 23 Feb 2014 21:50:40 +0100 [thread overview]
Message-ID: <87a9dhh7tr.fsf@med.uni-goettingen.de> (raw)
In-Reply-To: m2lhx13eye.fsf@krugs.de
Rainer M Krug <Rainer@krugs.de> writes:
> Hi
>
> I would like to save all in org defined variables into an R data
> file. In general this works fine with the following code block:
>
>
> #+begin_src R :session null :results output
> dir.create("./data/", showWarnings=FALSE)
> save.image("./data/orgData.rda")
> #+end_src
>
> but, as I have defined a file wide session for R via
>
> #+PROPERTY: session *R_MOBILIS*
>
> I have to create a new session for this, which is not that nice: when I
> remove a variable in org, it is still in the R environment and will
> therefore be saved. Therefore my question:
>
> what can I provide to the :session header, so that no session is used?
> In other words: how can I run a single code block out-of-session when
> all other are running in a session?
>
> Thanks,
>
> Rainer
This should be
:session none
Regards,
Andreas
next prev parent reply other threads:[~2014-02-23 20:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-23 17:40 [babel] disable :session for a code block? Rainer M Krug
2014-02-23 20:50 ` Andreas Leha [this message]
2014-02-24 9:31 ` SOLVED: " Rainer M Krug
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a9dhh7tr.fsf@med.uni-goettingen.de \
--to=andreas.leha@med.uni-goettingen.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.