Re: [O] PNG R plots size
Vicente Vera vichovp at gmail.com writes: How can I control the size of a PNG graphic? Do I need to tweak something inside Org or specify something in R? I use a line like this: #+HEADER: :res 300 :units cm :width 15 :height 15 to create a 15cm square PNG at 300 dpi.
[O] PNG R plots size
Hello. I have a source code block for an R plot with the following header: #+BEGIN_SRC R :results output graphics :file figure1.png :exports results It works, but the default size is too small. When I change the extension to SVG or PDF (i.e. when exporting to LaTeX, but is not what i need right now) the dimensions are fine. How can I control the size of a PNG graphic? Do I need to tweak something inside Org or specify something in R? Thanks.