emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: R source block list export not working properly [7.8.11]
@ 2012-09-25  7:00 Greg Tucker-Kellogg
  2012-09-25 15:28 ` Thomas S. Dye
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Tucker-Kellogg @ 2012-09-25  7:00 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: R source block list export not working properly [7.8.11]
  2012-09-25  7:00 Bug: R source block list export not working properly [7.8.11] Greg Tucker-Kellogg
@ 2012-09-25 15:28 ` Thomas S. Dye
  2012-09-26  0:38   ` Greg Tucker-Kellogg
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas S. Dye @ 2012-09-25 15:28 UTC (permalink / raw)
  To: Greg Tucker-Kellogg; +Cc: emacs-orgmode

Greg Tucker-Kellogg <gtuckerkellogg@gmail.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: R source block list export not working properly [7.8.11]
  2012-09-25 15:28 ` Thomas S. Dye
@ 2012-09-26  0:38   ` Greg Tucker-Kellogg
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Tucker-Kellogg @ 2012-09-26  0:38 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: emacs-orgmode

Hi Tom,

I didn't realize.  Thanks for the info; I'll look into it.

Greg


On Sep 25, 2012, at 11:28 PM, Thomas S. Dye wrote:

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-26  0:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-25  7:00 Bug: R source block list export not working properly [7.8.11] Greg Tucker-Kellogg
2012-09-25 15:28 ` Thomas S. Dye
2012-09-26  0:38   ` Greg Tucker-Kellogg

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).