Hello, regcl <re...@channing.harvard.edu> writes:
> 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? I don't know what the current state of the art is, but I usually add a name to the block, generate the result link, and add attributes above. Regards, -- Nicolas Goaziou