Using RStudio, I also see strange behavior (but I need to look into the documents a bit more to decide if this is not as expected), however I think you can get the expected result by calling ggsave , allowing it to use it by default plot = last.plot() , then running the chart, then calling dev.off() between the charts. i.e.
Workaround
ggsave("~/Image1.png", width=15,height=10,units='cm') image1 dev.off() ggsave("~/Image2.png", width=15,height=10,units='cm') image2 dev.off()
A reproducible example of this behavior
If we try the following example in RStudio, I can get the same behavior as the OP. Running the first block of code below in RGui 3.0.0 gives us what we expect, i.e. 3rd image. However, this is what happens in RStudio:
#
At this point, if we try to open the saved files, we get: 
Then we just run dev.off()
#
And we get: 
Now, if we try to save the graphs by calling ggsave , then printing the graphs on the screen and then calling dev.off (), it works as expected:
#
Then we get: 
Simon O'Hanlon May 6 '13 at 13:53 2013-05-06 13:53
source share