From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: org tables into R? Date: Sun, 04 Jan 2015 10:01:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7i0d-0002pp-Cf for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 05:02:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7i0Y-0003m7-Ed for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 05:02:07 -0500 Received: from plane.gmane.org ([80.91.229.3]:49770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7i0Y-0003m0-7C for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 05:02:02 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y7i0V-0003mn-6y for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 11:01:59 +0100 Received: from p5b0ef991.dip0.t-ipconnect.de ([91.14.249.145]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Jan 2015 11:01:59 +0100 Received: from andreas.leha by p5b0ef991.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Jan 2015 11:01:59 +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 Vikas, Thanks for following up on this issue! Vikas Rawal writes: > Michael Gauland writes: > > I want to use an R block to manipulate data from an org table, but > I'm not > getting what I expect. > > > > > > What am I doing wrong? > > > I believe, that this is a bug that has been reported already [1] > and is > still open. > > > > The code sent by Michael works fine for me (that it, the org table is > read as a data.frame). > > It may help to upgrade your org-mode. What version are you on? > > Vikas It turns out I cannot reproduce it either with emacs -Q. I investigated and found that the culprit is an export filter I have defined that replaces tabs with spaces: --8<---------------cut here---------------start------------->8--- (defun my-e-beamer-final-filter (contents backend info) (replace-regexp-in-string "\t" " " contents)) (add-to-list 'org-export-filter-final-output-functions 'my-e-beamer-final-filter) --8<---------------cut here---------------end--------------->8--- Now, I consider that a bug as well. I am not exporting anything, here. But I am merely evaluating a code block. Export filters should not interfere. Plus, it used to work (unfortunately, I do not have the time to bisect right now). So, why are export filters involved? And can that be disabled? Regards, Andreas PS: Here is my environment: #+begin_src emacs-lisp (concat (replace-regexp-in-string " on .*" "" (emacs-version)) "\n" (replace-regexp-in-string " @.*" "" (org-version nil t))) #+end_src #+results: : GNU Emacs 24.4.50.1 (x86_64-apple-darwin13.3.0, NS appkit-1265.21 Version 10.9.4 (Build 13E28)) : of 2014-09-02 : Org-mode version 8.3beta (release_8.3beta-709-g3e64f6