From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Bug passing tables to R code blocks? Date: Mon, 17 Oct 2011 16:05:01 -1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFz3E-0003st-MH for emacs-orgmode@gnu.org; Mon, 17 Oct 2011 22:05:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFz3D-0000Ru-8I for emacs-orgmode@gnu.org; Mon, 17 Oct 2011 22:05:08 -0400 Received: from oproxy9.bluehost.com ([69.89.24.6]:35158) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RFz3C-0000Qt-S9 for emacs-orgmode@gnu.org; Mon, 17 Oct 2011 22:05:07 -0400 Received: from [72.253.173.33] (helo=potofo-ou-3) by box472.bluehost.com with esmtpa (Exim 4.76) (envelope-from ) id 1RFz3A-0006X4-5V for emacs-orgmode@gnu.org; Mon, 17 Oct 2011 20:05:04 -0600 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: Org-mode Aloha all, I'm seeing some unexpected behavior when passing two tables into an R source code block. Things seem to work as expected when only one table is passed. In the following example, the header for the second table ends up on the first table when I evaluate the source code block. * R tables #+TBLNAME: tbl-1 | column1 | column2 | |---------+---------| | 45 | 34 | | 77 | 56 | #+tblname: tbl-2 | col1 | col2 | |------+------| | a | b | | c | d | #+BEGIN_SRC R :var x=tbl-1 :var y=tbl-2 :colnames yes x #+END_SRC #+results: | col1 | col2 | |------+------| | 45 | 34 | | 77 | 56 | release_7.7-396-g3538 Org-mode version 7.7 (release_7.7.396.g3538) Bug? Or my setup? All the best, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com