[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: Babel - simple getting started problem
From: |
Graham Smith |
Subject: |
Re: [Orgmode] Re: Babel - simple getting started problem |
Date: |
Mon, 7 Dec 2009 14:58:35 +0000 |
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()"))