From: Rainer M Krug <Rainer@krugs.de>
To: emacs orgmode-mailinglist <Emacs-orgmode@gnu.org>
Subject: [babel] Passing of variables to R - usage of temporary file not ideal for tangling
Date: Tue, 21 Jan 2014 15:26:57 +0100 [thread overview]
Message-ID: <52DE83B1.809@krugs.de> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
- --
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/
iQEcBAEBAgAGBQJS3oOxAAoJENvXNx4PUvmCSoMH/iICUJTeEgaymZhydWDED2fe
KRDZr/40hAylJP5+HR8Z3pA9Viy5X+5lCWX//QBezNH4TH10jJ01P1oLisIYai9Y
bGIkBGybIeYCuVTcgcf71evstEWQjGv1MOF6tbrGY9+zMOYzan5mfbl0TPygNZZt
kB2WjusxDZ6TH1/JPt4uGXTZDz+1s8njBGht2iHAuQuFRjjie7r8X/JGMjJQWO46
Xe/Jb4aq2Wm5BXRClg7xZ+CObPHoK3jSmII4CL82SAXgXyLca/TuxkVkZ4/svi/R
Tkg9B4/FINrh+JqOBBVSl8Fh7llhwzfcnLDibDqoMSqxyHqd9zESMxb4gw1Ofdc=
=7n9i
-----END PGP SIGNATURE-----
next reply other threads:[~2014-01-21 14:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-21 14:26 Rainer M Krug [this message]
2014-01-21 19:37 ` [babel] Passing of variables to R - usage of temporary file not ideal for tangling Andreas Leha
2014-01-21 19:47 ` Rainer M Krug
2014-01-21 19:49 ` Andreas Leha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52DE83B1.809@krugs.de \
--to=rainer@krugs.de \
--cc=Emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.