From: SabreWolfy <sabrewolfy@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Exporting output and graphics from R
Date: Thu, 30 May 2013 12:07:06 +0000 (UTC) [thread overview]
Message-ID: <loom.20130530T140120-24@post.gmane.org> (raw)
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.
next reply other threads:[~2013-05-30 12:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-30 12:07 SabreWolfy [this message]
2013-05-30 12:24 ` Exporting output and graphics from R 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20130530T140120-24@post.gmane.org \
--to=sabrewolfy@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).