From: eythanweg@gmail.com (Eythan Weg)
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: babel: textual output and graphic results
Date: Sat, 25 Jun 2011 08:05:52 -0400 [thread overview]
Message-ID: <8762nu9kv3.fsf@gmail.com> (raw)
In-Reply-To: <87wrgbhz77.fsf@gmail.com> (Eric Schulte's message of "Fri, 24 Jun 2011 11:11:52 -0700")
Eric Schulte <schulte.eric@gmail.com>
Fri, 24 Jun 2011 11:11:52 -0700
eythanweg@gmail.com (Eythan Weg) writes:
> 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?
>
Each code block can only return a single output type, so you will have
Is this property fundamental, or temporary?
to split your code block into two, however (given that you are using
sessions) this should not affect the runtime behavior. The following
will work...
#+begin_src R :results output :session
print(seq(1,10))
#+end_src
#+begin_src R :file example.png :session
plot(seq(1,10))
#+end_src
Best -- Eric
Thank you.
Eythan
next prev parent reply other threads:[~2011-06-25 12:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-24 10:10 babel: textual output and graphic results Eythan Weg
[not found] ` <BANLkTimOd4mfgvbDxaR1xF3WjPFPFYwT57keREjdp5vtFep5PQ@mail.gmail.com>
[not found] ` <87iprvph8y.fsf@gmail.com>
2011-06-24 12:28 ` Rainer M Krug
2011-06-25 12:00 ` Eythan Weg
2011-06-25 17:45 ` Rainer M Krug
2011-06-24 18:11 ` Eric Schulte
2011-06-25 12:05 ` Eythan Weg [this message]
2011-06-25 18:41 ` Eric Schulte
2011-06-24 18:46 ` Russell Adams
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8762nu9kv3.fsf@gmail.com \
--to=eythanweg@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.com \
/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 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.