From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: suppress leading ":" in org-babel output Date: Mon, 27 May 2019 22:17:46 -0400 Message-ID: <87ef4jl3ud.fsf@alphaville.usersys.redhat.com> References: <8736l08j5m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVRgb-0007pa-NM for emacs-orgmode@gnu.org; Mon, 27 May 2019 22:17:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVRga-0007Pc-UT for emacs-orgmode@gnu.org; Mon, 27 May 2019 22:17:57 -0400 Received: from [195.159.176.226] (port=55098 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVRga-0007Om-P1 for emacs-orgmode@gnu.org; Mon, 27 May 2019 22:17:56 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hVRgY-0008vI-5a for emacs-orgmode@gnu.org; Tue, 28 May 2019 04:17:54 +0200 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: emacs-orgmode@gnu.org Jeremie Juste writes: > Hello, > > I recall seeing this thread on the mailing list but I cannot find it > back. > > I would like to suppress the first line leading ":" in the following output > > > #+NAME:mean_purchase_per_shopping_trip > > #+BEGIN_SRC R :var x=6 :results output :session *R* > a <-sprintf("%.2f",12.234324) > cat(a,sep="\n") > #+END_SRC > > #+RESULTS: mean_purchase_per_shopping_trip > : > > : 12.23 > FWIW, I just get the last line: #+NAME:mean_purchase_per_shopping_trip #+BEGIN_SRC R :var x=6 :results output :session *R* a <-sprintf("%.2f",12.234324) cat(a,sep="\n") #+END_SRC #+RESULTS: : 12.23 This is with GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.32) of 2019-05-01 Org mode version 9.2.3 (release_9.2.3-367-gd79e80 @ /home/nick/elisp/org-mode/lisp/) R version 3.5.3 (2019-03-11) -- "Great Truth" on Fedora 29. -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler