From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Bug: R source block list export not working properly [7.8.11] Date: Tue, 25 Sep 2012 05:28:36 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:32889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGX40-0000UI-Rk for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 11:28:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGX3z-000365-L2 for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 11:28:44 -0400 Received: from oproxy6-pub.bluehost.com ([67.222.54.6]:41429) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TGX3z-00035e-Ca for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 11:28:43 -0400 In-Reply-To: (Greg Tucker-Kellogg's message of "Tue, 25 Sep 2012 15:00:51 +0800") 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: Greg Tucker-Kellogg Cc: emacs-orgmode@gnu.org Greg Tucker-Kellogg writes: > 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 Hi Greg, The problem is that no one is maintaining ob-r.el. The author, Dan Davison, has moved on to other things. Eric Schulte will apply patches to ob-r.el. Perhaps you could suggest a patch that would fix this behavior? All the best, Tom -- Thomas S. Dye http://www.tsdye.com