From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: [babel] disable :session for a code block? Date: Sun, 23 Feb 2014 21:50:40 +0100 Message-ID: <87a9dhh7tr.fsf@med.uni-goettingen.de> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHg1Q-0001sC-VZ for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 15:51:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHg1K-0002q5-4u for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 15:51:36 -0500 Received: from plane.gmane.org ([80.91.229.3]:53289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHg1J-0002pn-Uo for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 15:51:30 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WHg0i-0007jl-Gq for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 21:51:22 +0100 Received: from 94.116.156.193 ([94.116.156.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Feb 2014 21:50:52 +0100 Received: from andreas.leha by 94.116.156.193 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Feb 2014 21:50:52 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Rainer M Krug 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