emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* cannot execute org-mode code from the front page tutorial.
@ 2014-08-15 16:37 jenia.ivlev
  2014-08-15 17:04 ` Thomas S. Dye
  0 siblings, 1 reply; 9+ messages in thread
From: jenia.ivlev @ 2014-08-15 16:37 UTC (permalink / raw)
  To: emacs-orgmode



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.


Can someone please tell me how can I fix this error?

Thanks in advance for your time and kind help.

Jenia.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-08-16 21:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-15 16:37 cannot execute org-mode code from the front page tutorial jenia.ivlev
2014-08-15 17:04 ` Thomas S. Dye
2014-08-15 18:40   ` Nick Dokos
2014-08-15 23:36     ` jenia.ivlev
2014-08-16  2:41       ` Nick Dokos
2014-08-16  2:43       ` Nick Dokos
2014-08-16 16:49     ` Charles Berry
2014-08-16 17:13       ` Thomas S. Dye
2014-08-16 21:01       ` Nick Dokos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).