emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] ':file' argument does not work


From: Eric Schulte
Subject: Re: [O] [babel] ':file' argument does not work
Date: Sun, 24 Jul 2011 14:00:55 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Max Flöttmann <address@hidden> 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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]