[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [babel] Emitting both text & graphics output
From: |
suvayu ali |
Subject: |
Re: [O] [babel] Emitting both text & graphics output |
Date: |
Tue, 22 Mar 2011 16:28:38 -0700 |
On Tue, Mar 22, 2011 at 1:02 PM, <address@hidden> wrote:
> ------------------------------
> #+begin_src R :file tp.png :exports both :results output graphics
> dat <- matrix(runif(12), 6, 2)
> print(dat)
> plot(dat)
> #+end_src
> ------------------------------
>
>
>
> I can't seem to get the print() output to display, either by exporting to
> HTML or by simple evaluation of the code block.
Exporting to HTML includes a plot for me. Are you sure you activated R properly?
This is my settings for babel,
https://github.com/suvayu/.emacs.d/blob/master/lisp/org-mode-settings.el#L282
--
Suvayu
Open source is the future. It sets us free.