From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: [ob-R] combine :post and :colnames Date: Sun, 25 Jan 2015 21:38:04 +0100 Message-ID: <87egqiy4sz.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFTwy-0004zu-8C for emacs-orgmode@gnu.org; Sun, 25 Jan 2015 15:38:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFTwu-0008E7-7x for emacs-orgmode@gnu.org; Sun, 25 Jan 2015 15:38:28 -0500 Received: from plane.gmane.org ([80.91.229.3]:50458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFTwu-0008Dl-1N for emacs-orgmode@gnu.org; Sun, 25 Jan 2015 15:38:24 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YFTwl-0005iH-Hg for emacs-orgmode@gnu.org; Sun, 25 Jan 2015 21:38:15 +0100 Received: from tsn109-201-154-151.dyn.nltelcom.net ([109.201.154.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Jan 2015 21:38:15 +0100 Received: from rasmus by tsn109-201-154-151.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Jan 2015 21:38:15 +0100 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 Hi, Am I mistaken or is it not possible to combine :colnames and :post? Here's an example of what I have got in mind: --8<---------------cut here---------------start------------->8--- #+NAME: identity #+BEGIN_SRC emacs-lisp :var x="x" x #+END_SRC #+BEGIN_SRC R :colnames yes :post identity(*this*) setNames(data.frame(1:2), "foo") #+END_SRC #+RESULTS: | 1 | | 2 | Expected result: | foo | |-----| | 1 | | 2 | --8<---------------cut here---------------end--------------->8--- Thanks, Rasmus -- However beautiful the theory, you should occasionally look at the evidence