From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Gauland Subject: Re: org tables into R? Date: Sun, 4 Jan 2015 03:19:50 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7bjg-0008Fj-Q5 for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 22:20:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7bjc-0005SW-Kf for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 22:20:11 -0500 Received: from plane.gmane.org ([80.91.229.3]:40894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7bjc-0005Nr-DR for emacs-orgmode@gnu.org; Sat, 03 Jan 2015 22:20:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y7bjX-0005Bx-51 for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 04:20:04 +0100 Received: from 252.231.143.49.static.amuri.net ([252.231.143.49.static.amuri.net]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Jan 2015 04:20:03 +0100 Received: from mikelygee by 252.231.143.49.static.amuri.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Jan 2015 04:20:03 +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 I modified the definition of ob-R-transfer-variable-table-with-header in ob-R.el by changing 'sep' from \"\\t\" to \"\". Now #+BEGIN_SRC R :results output :exports both :session :var data.table=data :colnames yes names(data.table) head(data.table) #+END_SRC (note the addition of :colnames=yes) give me: #+RESULTS: : [1] "A" "B" "C" : A B C : 1 115 76 60 : 2 124 78 55 : 3 118 73 65 : 4 114 75 61 : 5 108 74 82 as I expect. What is the current procedure to submit a patch? Thanks, Michael