emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] Passing of variables to R - usage of temporary file not


From: Andreas Leha
Subject: Re: [O] [babel] Passing of variables to R - usage of temporary file not ideal for tangling
Date: Tue, 21 Jan 2014 20:49:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Rainer M Krug <address@hidden> writes:

> On 01/21/14, 20:37 , Andreas Leha wrote:
>> Hi Rainer,
>> 
>> Rainer M Krug <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]