Saving one graph when R gives more than one at once -


i have been using quartz.save() save graphs have been making in r. however, r gives more 1 graph @ once, saying hit <return> see next plot: in console.

how go saving (or one) of these graphs?

thank you.

here's 1 option that's available of r's file-based graphics devices.

it's documented, among other places, in filename= section of ?png page.

png("image %01d.png") example(image)        # produces 4 plots dev.off()  # list files produced above dir(pattern = "png$") # [1] "image 1.png" "image 2.png" "image 3.png" "image 4.png" 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -