emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: R source block list export not working properly [7.8.11]


From: Greg Tucker-Kellogg
Subject: [O] Bug: R source block list export not working properly [7.8.11]
Date: Tue, 25 Sep 2012 15:00:51 +0800

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]