From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: bernardH <org-mode@bernard-hugueney.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Unable to reuse the result of a cached function call as argument of a gnuplot call
Date: Sat, 04 Jul 2015 15:09:17 +0200 [thread overview]
Message-ID: <87oajsf4si.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <loom.20150610T201937-369@post.gmane.org> (bernardH's message of "Wed, 10 Jun 2015 18:30:22 +0000 (UTC)")
Hello,
bernardH <org-mode@bernard-hugueney.org> writes:
> Now a cached call.
>
> #+name: my-call-cached
> #+call: fun[:results table](nb=5) :cache yes
>
> #+RESULTS[f2b650eb5296f72a1f7237c2a65b7fb3443acf5f]: my-call-cached
> | 1 | 2 |
> | 3 | 4 |
> | 5 | 6 |
> | 7 | 8 |
> | 9 | 10 |
[...]
> But if I try to use the cached call :
>
> #+name: plot-result-cached
> #+call: plotting[:file result-call-cached.png](data= my-call-cached) :results file
Why can't you simply use the (cached) results of my-call instead of the
call itself, e.g.:
#+name: my-call-cached
#+call: fun[:results table](nb=5) :cache yes
#+name: my-cached-results
#+RESULTS[f2b650eb5296f72a1f7237c2a65b7fb3443acf5f]: my-call-cached
| 1 | 2 |
| 3 | 4 |
| 5 | 6 |
| 7 | 8 |
| 9 | 10 |
#+name: plot-result-cached
#+call: plotting[:file result-call-cached.png](data= my-cached-results) :results file
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2015-07-04 13:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-10 18:30 Unable to reuse the result of a cached function call as argument of a gnuplot call bernardH
2015-07-04 13:09 ` Nicolas Goaziou [this message]
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=87oajsf4si.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=org-mode@bernard-hugueney.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.