all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Exporting output and graphics from R
@ 2013-05-30 12:07 SabreWolfy
  2013-05-30 12:24 ` Sebastien Vauban
  0 siblings, 1 reply; 8+ messages in thread
From: SabreWolfy @ 2013-05-30 12:07 UTC (permalink / raw)
  To: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-05-31 12:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-30 12:07 Exporting output and graphics from R SabreWolfy
2013-05-30 12:24 ` Sebastien Vauban
2013-05-30 12:47   ` Rainer M. Krug
2013-05-30 13:15     ` Feng Shu
2013-05-30 13:37       ` Rainer M. Krug
2013-05-31 12:15       ` SabreWolfy
2013-05-31 12:13   ` SabreWolfy
2013-05-31 12:25     ` Sebastien Vauban

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.