Displaying 1 result from an estimated 1 matches for "mybarchart2".
Did you mean:
mybarchart
2010 Jan 14
2
Newbie mistakes saving images to files
...gt;
png("Image %03d.png")
# the following are calls to user-defined functions I wrote that call plot,
barchart, etc. with special arguments.
myPlot("a")
myPlot("b")
myPlot("c")
myBarchart("a")
myBarchart("b")
myBarchart("c")
myBarchart2("a")
myBarchart2("b")
myBarchart2("c")
dev.off()
### </script>
When I run the code a few lines at a time it generates the images correctly.
However, when I execute all lines of the script at once (Ctrl+A, Ctrl+R in
the Rgui editor), the output doesn't get g...