From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: cannot execute org-mode code from the front page tutorial. Date: Fri, 15 Aug 2014 07:04:18 -1000 Message-ID: References: <8738cxvhe0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIKvk-0003u0-LI for emacs-orgmode@gnu.org; Fri, 15 Aug 2014 13:04:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XIKve-0007S7-Dl for emacs-orgmode@gnu.org; Fri, 15 Aug 2014 13:04:44 -0400 Received: from gproxy8-pub.mail.unifiedlayer.com ([67.222.33.93]:54438) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1XIKve-0007Qn-5j for emacs-orgmode@gnu.org; Fri, 15 Aug 2014 13:04:38 -0400 In-Reply-To: <8738cxvhe0.fsf@gmail.com> (jenia ivlev's message of "Fri, 15 Aug 2014 12:37:11 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "jenia.ivlev" Cc: emacs-orgmode@gnu.org 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