[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Unable to reuse the result of a cached function call as argument
From: |
Nicolas Goaziou |
Subject: |
Re: [O] 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 |
Hello,
bernardH <address@hidden> 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 in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] Unable to reuse the result of a cached function call as argument of a gnuplot call,
Nicolas Goaziou <=