[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:37:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
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
Regards,
Andreas