[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [BUG] [babel] R graphics header arg :units
From: |
Andreas Leha |
Subject: |
Re: [O] [BUG] [babel] R graphics header arg :units |
Date: |
Mon, 18 Jun 2012 08:48:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Hi Myles,
> Hi Andreas,
>
>>> On Sun, 17 Jun 2012 22:19:39 +0200, Andreas Leha said:
>
> > Hi all,
> > I am having troubles in using the header argument :units which is
> > implemented for R source blocks. Example:
>
> > #+begin_src R :results graphics :file wideplot.png :width 14 :height 7
> :units "cm"
> > plot(1:10, 1:10)
> > #+end_src
>
> It seems to work if you do this :units "'cm'" :res 100, i.e.:
>
> #+begin_src R :results graphics :file wideplot.png :width 14 :height 7 :units
> "'cm'" :res 100
> plot(1:10, 1:10)
> #+end_src
>
Thanks for this! I had only tried :units '"cm"'... Your example works
fine here.
Best,
Andreas