emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Babel: interweaving code and results?


From: David Hajage
Subject: Re: [Orgmode] Babel: interweaving code and results?
Date: Wed, 18 Aug 2010 15:28:44 +0200

Thanks!
David


On Wed, Aug 18, 2010 at 15:15, Erik Iverson <address@hidden> wrote:
David,


On 08/18/2010 08:09 AM, David Hajage wrote:
Hello,

I am back with babel and R with a new question. Is it possible to
interweave each line of code with its results?

An example to explain what I mean:

#+SRCNAME: foo
#+BEGIN_SRC R :results output :exports results
  2+2
  3+3
#+END_SRC

#+results: foo
: [1] 4
: [1] 6

When exporting (to html or latex), I would like to print what is going
on in the R console. So, I would like:

#+results: foo
:> 2+2
: [1] 4
:> 3+3
: [1] 6

Is it possible, or eventualy planned for the futur?

I think I put together a :results weave option a couple
months ago that did just this.

I'll have to look if I can find it, I'll
let you know.


reply via email to

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