[Top][All Lists]

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

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

From: Erik Iverson
Subject: Re: [Orgmode] Babel: interweaving code and results?
Date: Wed, 18 Aug 2010 08:15:15 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100713 Thunderbird/3.0.6


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

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

#+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]