[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] babel: textual output and graphic results
From: |
Russell Adams |
Subject: |
Re: [O] babel: textual output and graphic results |
Date: |
Fri, 24 Jun 2011 13:46:52 -0500 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Eythan,
This sounds similar to something I'd already done on Worg, ie: dual
format returns in R. The first example (RBabelExample) is really R
outputting to PNG for viewing inline in emacs with inline-images, and
PDF for inclusion into Latex.
Maybe you can adapt it to return your text, and graph separately.
http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html
Enjoy.
On Fri, Jun 24, 2011 at 06:10:47AM -0400, Eythan Weg wrote:
>
> Hi,
>
> How could I effect the plot saved in a file and the output produced
> shown in the buffer by using a single execution of R in the following
> snippet?
>
> #+begin_src R :results output :session
> print(seq(1,10))
> plot(seq(1,10))
> #+end_src
>
> Thank you.
> Eythan
>
>
------------------------------------------------------------------
Russell Adams address@hidden
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Re: [O] babel: textual output and graphic results, Eric Schulte, 2011/06/24
Re: [O] babel: textual output and graphic results,
Russell Adams <=