On Sat, 4 Apr 2015, David Dynerman wrote:

Hi Tom,

Does :cache yes work with #+CALL lines? I’m not able to get it to work.

I’m calling my function through #+CALL’s because I’d like to generate several figures from the same org-babel code block/

I tried adding :cache yes to:

1) The actual org-code block
2) The +CALL line, at the end
3) The +CALL line, before the argument list (i.e., my_python_function[:cache 
yes](…))

None of these worked - the code was still re-evaluated when I exported the file, although the +RESULTS line got a hash value.

Thank you very much,
David


David,

Does this help?

#+NAME: timenow
#+BEGIN_SRC sh
  date
#+END_SRC

#+CALL: timenow[:eval never-export]() :eval never-export


This will run interactively, but not on export. Instead the exported value of any previously saved `date' is exported.


HTH,

Chuck

Reply via email to