Seb,

I am obviously not following this at all. I am assuming you need to
keep all the code under the same heading so OrgMode knows which table
is being referred to. But if I put the cursor in the table and use C-u
C-c C-c I get a message in the mini buffer, that the formulas are
being re-applied, but an error in the table.

Graham

* Example 1: data summaries using R

#+srcname: tbl-example-data()
#+begin_src R
runif(n=5, min=0, max=1)
#+end_src

#+resname: tbl-example-data
| 0.142434993525967 |
| 0.636120659532025 |
| 0.167309222277254 |
|  0.96337740519084 |
| 0.276034632697701 |


#+srcname: R-mean(x)
#+begin_src R
mean(x)
#+end_src


#+tblname: summaries
| mean   |
|--------|
| #ERROR |
#+TBLFM: @2$1='(sbe "R-mean" (x "generate-data()"))


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to