[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Babel save code block results to many files
From: |
Jeremie Juste |
Subject: |
[O] Babel save code block results to many files |
Date: |
Mon, 02 May 2016 22:08:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] Babel save code block results to many files,
Jeremie Juste <=