emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Babel: interweaving code and results?


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

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?

Thank you very much.
David

reply via email to

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