[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] org-babel-R: export R graphics to LaTeX
From: |
Gary Oberbrunner |
Subject: |
[O] org-babel-R: export R graphics to LaTeX |
Date: |
Tue, 7 Feb 2012 12:15:25 -0500 |
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
- [O] org-babel-R: export R graphics to LaTeX,
Gary Oberbrunner <=