Malcolm Cook writes: > > #+begin_src R :results graphics output :exports both :file mtcars.png > library(ggplot2) > qplot(wt, mpg, data = mtcars) > #+end_src > > #+RESULTS: > [[file:mtcars.png]] > > #+LATEX_HEADER: \usepackage{svg} > #+BEGIN_LaTeX > \includesvg{mtcars} > #+END_LaTeX The following works for me: --8<---------------cut here---------------start------------->8--- #+LATEX_HEADER: \usepackage{svg} #+begin_src R :results graphics output :exports both :file mtcars.svg :results none library(ggplot2) qplot(wt, mpg, data = mtcars) #+end_src #+BEGIN_LaTeX \includesvg{mtcars} #+END_LaTeX --8<---------------cut here---------------end--------------->8--- The only problem is that I use minted to typeset code blocks and it apparently does not know how to deal with R code blocks, so the code block is not present in the PDF file. But the image is there. I attach the resultant tex and pdf files.