emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Exporting output and graphics from R


From: SabreWolfy
Subject: [O] Exporting output and graphics from R
Date: Thu, 30 May 2013 12:07:06 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

When the following code is evaluated or exported, only the link to
"testout.png" appears in the RESULTS section.

--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC R :results output graphics :file testout.png :exports both
plot(1:10, 1:10)
x <- 1:10
library(ascii)
options(asciiType = "org")
ascii(x)
#+END_SRC
--8<---------------cut here---------------end--------------->8---

When this code is evaluated, the value of "x" appears in the RESULTS:

--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC R :results output :exports both
x <- 1:10
library(ascii)
options(asciiType = "org")
ascii(x)                                                                      
#+END_SRC    
--8<---------------cut here---------------end--------------->8---

How can I get the first example to output both graphics and ascii output?
I'm using Org 7.9.2.




reply via email to

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