regcl wrote:
> Thank you for your earlier comments.  In order to adjust the scaling of
> a graphic generated by a R source block I am doing this ...
>
> ** adjusting scaling of a figure generated from source
>
> #+begin_src R :results graphics silent :file foo2.pdf :exports results 
>   plot(c(1:10), c(10:1))
>   #+end_src
>
> #+attr_latex: :width .35\textwidth
> file:foo2.pdf 
>
> While this does work, it is a wee bit unsatisfying to type "foo2.pdf""
> twice.
>
> Is there a better way to apply the latex keyword to the results?

What I do is that I simply execute it a first time, so that the link is
created (that is, the name is copied) by Org.

Best regards,
  Seb

-- 
Sebastien Vauban


Reply via email to