(How) can I include (or their resulting variables) in an org table?
* Inline code in table
src_R{1+1}
| src_R{1+1} |
when exported to, e.g. HTML, results in
Inline code in table
2
src_R{1+1}
(How) can I include (or their resulting variables) in an org table?
* Inline code in table
src_R{1+1}
| src_R{1+1} |
when exported to, e.g. HTML, results in
Inline code in table
2
src_R{1+1}
The answer is org-sbe
(for "source block evaluate")
#+NAME: function-name
#+BEGIN_SRC R
1+1
#+END_SRC
| 2 |
#+TBLFM: @1$1='(org-sbe function-name)