From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: [babel] disable :session for a code block? Date: Sun, 23 Feb 2014 18:40:25 +0100 Message-ID: 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]:57237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHd2f-0003NO-95 for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 12:40:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHd2Y-0002Al-UJ for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 12:40:41 -0500 Received: from mail-wg0-f53.google.com ([74.125.82.53]:61555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHd2Y-0002AZ-HJ for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 12:40:34 -0500 Received: by mail-wg0-f53.google.com with SMTP id x12so3990465wgg.20 for ; Sun, 23 Feb 2014 09:40:33 -0800 (PST) Received: from Rainers-MacBook-Pro-2.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by mx.google.com with ESMTPSA id xt1sm35028387wjb.17.2014.02.23.09.40.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Feb 2014 09:40:32 -0800 (PST) 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 =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) iQEcBAEBAgAGBQJTCjKOAAoJENvXNx4PUvmC0KIH/jkAfkEV/sSYIJzLxhZ3AiML X3RwHQV1SA3xqEg63ii+SiuJNNPqWz8k0tubB3/9Mybgo2iky523BL0JHHowGhHn 3oFpQVuEP0wcg7pbx2NZ9GIKc3iYkxrsCnksV5s58HghcC+N0K1gaTQ6l2kmrL4d cAPIls/0/+wLb8PIZEGWUfg8gPwwaj5vdpTpyAJxER4VtkgsfZl5Bcssppyqonr9 F7qDLk7OCWLt9K4ZeA6W+0aftNxaVL5iyd+hOpLhz3Uj7/FVn1qGJT6mNIID7FBW lq44qNGXoSZDchg8RnSgtfdxtrydfmagd5YZSyw7r3hDhietVMO9tnIWqurotQk= =dKJ3 -----END PGP SIGNATURE----- --=-=-=--