From: Gary Oberbrunner <garyo@oberbrunner.com>
To: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: org-babel-R: export R graphics to LaTeX
Date: Tue, 7 Feb 2012 12:15:25 -0500 [thread overview]
Message-ID: <CAFChFygfebC8kSf-3CsCDMdCSKi_tdakk=RpHPgBys2MPQKW4w@mail.gmail.com> (raw)
I have the following org-mode test file:
===========
#+TITLE: tester.org
#+PROPERTY: session *R*
#+PROPERTY: results output
#+LaTeX_HEADER: \usepackage{hyperref}
* Headline here
Here is some text.
#+begin_src R :exports both :results graphics :file img.jpg
hist(rnorm(100))
#+end_src
=============
and exporting it to LaTeX with C-C C-e d gives a PDF with only a link
to the graphics file, not inlined as a figure. How do I include the
actual R graph?
--
Gary
next reply other threads:[~2012-02-07 17:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-07 17:15 Gary Oberbrunner [this message]
2012-02-07 17:39 ` org-babel-R: export R graphics to LaTeX Nick Dokos
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='CAFChFygfebC8kSf-3CsCDMdCSKi_tdakk=RpHPgBys2MPQKW4w@mail.gmail.com' \
--to=garyo@oberbrunner.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 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.