From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: SOLVED: [babel] disable :session for a code block? Date: Mon, 24 Feb 2014 10:31:19 +0100 Message-ID: References: <87a9dhh7tr.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHrsq-00056I-EL for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 04:31:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHrsl-0000D6-Vd for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 04:31:32 -0500 Received: from mail-we0-f171.google.com ([74.125.82.171]:42788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHrsl-0000D0-QH for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 04:31:27 -0500 Received: by mail-we0-f171.google.com with SMTP id u56so4464657wes.16 for ; Mon, 24 Feb 2014 01:31:26 -0800 (PST) In-Reply-To: <87a9dhh7tr.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Sun, 23 Feb 2014 21:50:40 +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: Andreas Leha Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Andreas Leha writes: > 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=3DFALSE) >> save.image("./data/orgData.rda") >> #+end_src >> >> but, as I have defined a file wide session for R via=20 >> >> #+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 Perfect - thanks a lot Rainer > > Regards, > Andreas > > > =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJTCxFrAAoJENvXNx4PUvmCzd0H/0Wj8aW26MSUp7h6prdvnLe8 1+/HPAfWHwG/XfcEiptH2kZAmiatyKyry6Fy7WOQRFEmSEbPIeb8yK7Sjuy++6Cd orMYL5nr4uYmnrF/J45ng8KwICk52PUP0gayGWsujDtIBVCJA5eQGglvHxdZdbCB utwAvS/NKjaRpH0Hw2r4d3K6NU68Jy0A+E6jc/RgT9NFgFtYQNeaT0Q6CHe9wj2x Se8J1hTBRN5BQLYzlNWb2IYyvD4RBIjt33uByrJ0YC60A7F3Q69zUHFqC3V/Bc23 cHryHoe6zmPP6ywb21+d0EiDvEt6e9uiEq1O613Hm1EDKCYXq6YVHgMR5TfFoZc= =9RXa -----END PGP SIGNATURE----- --=-=-=--