title: org-mode, source code block, result vector
body: <p>In an org-mode to beamer presentation, I want to process data from a spread sheet, using either a <code>python</code> or <code>R</code> source code block. I know how to do this.</p>
  
  <p>There will be a vector of results, and I need to get individual vector elements on different slides. Is there a way to destructure the results vector, so I don't need to recalculate the spread sheet every time? Maybe make python only store the vector as variable and then use an inline-python-call to extract the value?</p>
  
  <p>Example:</p>
  
  <pre><code>#+name: calculation
  #+begin_src python :result value
  return [1, 2, 3]
  #+end_src
  
  *** Slide one
  I calculated &lt;how to insert :calculationresult[0]&gt;?
  - some 
  - content
  
  *** Slide two
  I calculated &lt;how to insert :calculationresult[1]&gt;?
  - more
  - content
  </code></pre>