From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: [babel] Passing of variables to R - usage of temporary file not ideal for tangling Date: Tue, 21 Jan 2014 20:49:07 +0100 Message-ID: <87fvoh15fw.fsf@med.uni-goettingen.de> References: <52DE83B1.809@krugs.de> <87k3dt15zg.fsf@med.uni-goettingen.de> <52DECEC4.9040007@krugs.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5hKE-0004Hl-Pw for emacs-orgmode@gnu.org; Tue, 21 Jan 2014 14:49:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5hK8-00086J-7z for emacs-orgmode@gnu.org; Tue, 21 Jan 2014 14:49:30 -0500 Received: from plane.gmane.org ([80.91.229.3]:33720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5hK8-000864-0q for emacs-orgmode@gnu.org; Tue, 21 Jan 2014 14:49:24 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W5hK5-00083m-Po for emacs-orgmode@gnu.org; Tue, 21 Jan 2014 20:49:21 +0100 Received: from vpn-2113.gwdg.de ([134.76.2.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Jan 2014 20:49:21 +0100 Received: from andreas.leha by vpn-2113.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Jan 2014 20:49:21 +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: > 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. > As it was for me during the last two years ;-) Cheers, Andreas