all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-babel-R: export R graphics to LaTeX
@ 2012-02-07 17:15 Gary Oberbrunner
  2012-02-07 17:39 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: Gary Oberbrunner @ 2012-02-07 17:15 UTC (permalink / raw)
  To: Orgmode Mailing List

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

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

end of thread, other threads:[~2012-02-07 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-07 17:15 org-babel-R: export R graphics to LaTeX Gary Oberbrunner
2012-02-07 17:39 ` Nick Dokos

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.