[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] cannot execute org-mode code from the front page tutorial.
From: |
Thomas S. Dye |
Subject: |
Re: [O] cannot execute org-mode code from the front page tutorial. |
Date: |
Fri, 15 Aug 2014 07:04:18 -1000 |
Aloha Jenia,
address@hidden (jenia.ivlev) writes:
> Hello.
>
> I'm trying to go through the org-mode tutorial on its official page.
>
> However, I have trouble execute the code there"
>
>
> #+NAME: tbl-example-data()
> #+BEGIN_SRC R :results value
> runif(n=5, min=0, max=1)
> #+END_SRC
>
> #+RESULTS: tbl-example-data
> | 0.565871287835762 |
> | 0.457158328965306 |
> | 0.0498181856237352 |
> | 0.988381117349491 |
> | 0.898329895688221 |
>
>
>
> #+NAME: R-mean(x)
> #+BEGIN_SRC R :var x=tbl-example-data
> mean(x)
> #+END_SRC
>
>
>
>
> #+call: R-mean(x=tbl-example-data)
>
>
> It returns me:
>
>
>
> Reference 'R-mean' not found in this buffer.
>
FWIW, this code doesn't work for me, either, using a recent Org-mode from
git.
For others able to help, the "org-mode tutorial on its official page"
that Jenia refers to is
http://orgmode.org/worg/org-contrib/babel/intro.html#spreadsheet
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com