From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [babel] Passing of variables to R - usage of temporary file not ideal for tangling Date: Tue, 21 Jan 2014 20:47:16 +0100 Message-ID: <52DECEC4.9040007@krugs.de> References: <52DE83B1.809@krugs.de> <87k3dt15zg.fsf@med.uni-goettingen.de> Reply-To: Rainer@krugs.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5hIH-0003PG-9H for emacs-orgmode@gnu.org; Tue, 21 Jan 2014 14:47:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5hIC-0007cQ-74 for emacs-orgmode@gnu.org; Tue, 21 Jan 2014 14:47:29 -0500 Received: from mail-wi0-f181.google.com ([209.85.212.181]:59742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5hIC-0007cM-0U for emacs-orgmode@gnu.org; Tue, 21 Jan 2014 14:47:24 -0500 Received: by mail-wi0-f181.google.com with SMTP id hi8so4797036wib.2 for ; Tue, 21 Jan 2014 11:47:23 -0800 (PST) In-Reply-To: <87k3dt15zg.fsf@med.uni-goettingen.de> 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 , emacs-orgmode@gnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/21/14, 20:37 , Andreas Leha wrote: > Hi Rainer, > > Rainer M Krug writes: > >> I just realized that babel is using temporary files when passing >> tables to R (no idea about other languages). This is OK when >> evaluating code blocks or exporting, but causes problems when >> tangling, as the temporary files are not available in a new >> session and handing on the tangled code or sourcing it from R >> becomes impossible. >> >> I would therefore suggest to change the mechanism of passing >> tables to R so that the tables are included in the tangled >> files. >> >> One option would be to use a direct 'text-connection' as >> describer in the R help of read.table(), last example. >> >> Cheers, >> >> Rainer > > > there has been a thread about this about two years ago: > http://article.gmane.org/gmane.emacs.orgmode/51153 Must have missed that one - I might take a look at this issue, but it s not a major issue for me at the moment. Cheers, Rainer > > Regards, Andreas > > - -- 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS3s7EAAoJENvXNx4PUvmCXJAIAMYequxCTElyt7Nb8xE6//XO z6vBHAhI7w5++vspcnsQzm6WF/KhJg85orOkz4XrOCGwb5qaEzFnb+0viUaIocNO b5F1QbktB1Iv1wjSL/VGFctscFuLO/is7PDKFNQb+A5Gvp/YFazSVHWY0kQOhzDx Vcuom7SNpH5P5YtjWwTdsNyzgxcXH9/oSrilt3y1glGcRrqeZCZTuOW63X0Yc/1r TiENKMdeWW/nJOJmW6Nde7uHhp4ANqkq5Gr8HeXGJ5ejspsnQ6sV51oiIzTzZgc1 Sh24izg8tz9py9aoseF2F/KU2bPpgCHG+71tzHf1PkBt0SidRNsPV30BM+/Knyo= =nLBA -----END PGP SIGNATURE-----