From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Tucker-Kellogg Subject: Bug: R source block list export not working properly [7.8.11] Date: Tue, 25 Sep 2012 15:00:51 +0800 Message-ID: Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGP8Z-0001J0-Nd for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 03:00:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGP8Y-0003X4-BM for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 03:00:55 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:61920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGP8Y-0003Wy-1m for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 03:00:54 -0400 Received: by padfa10 with SMTP id fa10so1355261pad.0 for ; Tue, 25 Sep 2012 00:00:52 -0700 (PDT) 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 reported this on the mailing list as a question, but it appears to be an actual bug, so I thought I should file it formally. The following MWE shows the problem when trying to export an R character vector: #+begin_src R :exports results :results value list c("x","y","z") #+end_src #+RESULTS: - ("x") - ("y") - ("z") This is clearly not what is wanted, more or less ever. What works, instead, requires R manipulation of the results, of the form: #+BEGIN_SRC R :exports results :results output raw a <- c("x","y","z") cat(paste("-", a), sep="\n") #+END_SRC #+RESULTS: - x - y - z Emacs : GNU Emacs 24.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2012-08-27 on bob.porkrind.org Package: Org-mode version 7.8.11