From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Table (used a "spreadsheet") org-sbe issues when the value is a string Date: Thu, 23 Jun 2016 01:06:33 +0200 Message-ID: <87k2hgakna.fsf@saiph.selenimh> References: <35a64fca-7d01-b382-15f0-568d93af4f61@fgiasson.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFrEM-0003O2-VR for emacs-orgmode@gnu.org; Wed, 22 Jun 2016 19:06:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFrEG-00009h-Qq for emacs-orgmode@gnu.org; Wed, 22 Jun 2016 19:06:45 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:50093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFrEG-00009d-KD for emacs-orgmode@gnu.org; Wed, 22 Jun 2016 19:06:40 -0400 In-Reply-To: <35a64fca-7d01-b382-15f0-568d93af4f61@fgiasson.com> (Frederick Giasson's message of "Wed, 22 Jun 2016 08:37:36 -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" To: Frederick Giasson Cc: emacs-orgmode@gnu.org Hello, Frederick Giasson writes: > Now, if I put a string in the format column, I al getting the following: > > ==================== > > #+NAME: average-dataset-size > #+BEGIN_SRC clojure :var f="turtle" :exports none :results value > (identity f) #+END_SRC > > #+RESULTS: average-dataset-size > : turtle > > > | Format | Sizes distribution in MB | Average size in MB | > |--------+--------------------------+--------------------| > | turtle | | #ERROR | > #+TBLFM: $3='(org-sbe "average-dataset-size" (f $1)) > > ==================== According to `org-sbe' docstring, it should be #+TBLFM: $3='(org-sbe "average-dataset-size" (f $$1)) Documentation could be drastically improved in that area, the manual is not even talking about `org-sbe'. Regards, -- Nicolas Goaziou