Max Flöttmann <max.floettm...@gmail.com> writes: > Hi, > I'm working with org-mode and babel to write annotated R-scripts. I > include a lot of code blocks that should write their graphics to a > file. > > I'm usually using the :file argument for that, but on my Mac this > doesn't work anymore. > > A code block like this: > #+begin_src R :file Y2011_M07_T11_h11_m14_s05_plot.pdf :session test > plot.Data(data) > #+end_src >
Hi Max, The following alternative, which includes the ":results graphics" header argument, should work. #+begin_src R :file Y2011_M07_T11_h11_m14_s05_plot.pdf :results graphics :session test plot.Data(data) #+end_src Best -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/