From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: [babel] problem with colnames Date: Tue, 08 May 2012 21:26:30 +0200 Message-ID: <87mx5i3255.fsf@med.uni-goettingen.de> References: <87r4uu33ks.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRq4K-0002E6-Dx for emacs-orgmode@gnu.org; Tue, 08 May 2012 15:27:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SRq4I-00052r-N1 for emacs-orgmode@gnu.org; Tue, 08 May 2012 15:27:31 -0400 Received: from plane.gmane.org ([80.91.229.3]:37046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRq4I-00052C-Fi for emacs-orgmode@gnu.org; Tue, 08 May 2012 15:27:30 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SRq4G-0001tL-RC for emacs-orgmode@gnu.org; Tue, 08 May 2012 21:27:28 +0200 Received: from vpn-2130.gwdg.de ([134.76.2.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 May 2012 21:27:28 +0200 Received: from andreas.leha by vpn-2130.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 May 2012 21:27:28 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org tsd@tsdye.com (Thomas S. Dye) writes: > Aloha Andreas, > > Andreas Leha writes: > >> Hi all, >> >> I have a question regarding colnames in babel source blocks. >> >> Suppose, I have a source block (in R) that has as input a table and returns a >> table. And I would like to have the resulting table with column >> names, but the input table does not have column names. >> >> How can I achieve this? > > I don't think this is possible with the current ob-r.el. I found this > problem a few months ago and have been working around it since then. I > think the solution is to patch ob-r.el so the :colnames header argument > has 4 states: none, input, output, both. > > All the best, > Tom > Hi Tom, thanks for your confirmation. Regards, Andreas