Hello,

In the case where a code block generates many grahique, is it possible
to output each graphic to a file direclty?

For example in R you can do something like the following.

png(file="example%02d.png", width=200, height=200)
  for (i in c(10:1, "G0!")){
    plot.new()
    text(.5, .5, i, cex = 6)
  }
dev.off()

but the it seems that we don't have direct access to the png function in
org-mode

#+BEGIN_SRC R :results output graphics :file tmp.png
  for (i in c(10:1, "G0!")){
    plot.new()
    text(.5, .5, i, cex = 6)
  }
#+END_SRC


Best regards,

Jeremie


Reply via email to