Aloha all, Grant Rettke <g...@wisdomandwonder.com> writes:
> I've been thinking about this all week. Must be in the global memory space. > Grant Rettke Here is one way. * Define a local variable #+name: my-var #+header: :exports none #+begin_src R 768 #+end_src #+name: pass-my-var-to-code-block #+header: :var x=my-var #+header: :exports both #+begin_src emacs-lisp (+ x 1) #+end_src #+results: pass-my-var-to-code-block : 769 The variable is call_my-var(). When I export this to an ASCII buffer, I get: 1 Define a local variable ========================= ,---- | (+ x 1) `---- ,---- | 769 `---- The variable is `768'. All the best, Tom -- Thomas S. Dye http://www.tsdye.com