From: Henning Redestig <henning.red@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: org babel and alternative output file when using +call
Date: Wed, 27 Oct 2010 11:38:00 -0300 [thread overview]
Message-ID: <AANLkTim7rE_fu0Y=-vOqTnaAKHoOqZ8G=_QAB=8QoG6O@mail.gmail.com> (raw)
Dear list,
When I do
#+source: test(myarg="blabla")
#+begin_src R :session :file test.pdf
plot(1:10, main=myarg)
#+end_src
I get the expected result:
#+results: test
[[file:test.pdf]]
but if I later do
#+call: test(myarg="hiho") :file test2.pdf
I still get a file named according to the header argument specified in
the original source block:
#+results: test(myarg="hiho")
[[file:test.pdf]]
instead of what I hoped for:
#+results: test(myarg="hiho")
[[file:test2.pdf]]
Is this intended? I think it would be very useful if I could change
the file name in '+calls' like this to get different plots for
different arguments.
Using:
GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0) of
2009-09-27 on crested, modified by Debian
Org-mode version 7.01trans
Best regards,
--
/Henning Redestig
Metabolome Informatics Unit | Yokohama RIKEN Plant Science Center
next reply other threads:[~2010-10-27 14:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-27 14:38 Henning Redestig [this message]
2010-10-27 16:20 ` org babel and alternative output file when using +call Eric Schulte
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='AANLkTim7rE_fu0Y=-vOqTnaAKHoOqZ8G=_QAB=8QoG6O@mail.gmail.com' \
--to=henning.red@googlemail.com \
--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.