emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: "jenia.ivlev" <jenia.ivlev@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: cannot execute org-mode code from the front page tutorial.
Date: Fri, 15 Aug 2014 07:04:18 -1000	[thread overview]
Message-ID: <m27g294rcd.fsf@tsdye.com> (raw)
In-Reply-To: <8738cxvhe0.fsf@gmail.com> (jenia ivlev's message of "Fri, 15 Aug 2014 12:37:11 -0400")

Aloha Jenia,

jenia.ivlev@gmail.com (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

  reply	other threads:[~2014-08-15 17:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m27g294rcd.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jenia.ivlev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).