Dan Davison wrote:
Erik Iverson <er...@ccbr.umn.edu> writes:
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?
Hi David,
This is actually quite easy, although I don't think anyone's flagged
this possibility up: just do
(setq org-babel-R-command "R --silent --no-save")
Yes, that's essentially what I ended up doing it appears. I
never actually wrote code to process an option for it though.
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode