powered by
This function will only work after starting a device with hgd().
hgd()
hgd_clear(which = dev.cur())
Which device (ID).
Whether there were any pages to remove.
# NOT RUN { hgd() plot(1,1) hist(rnorm(100)) hgd_clear() hist(rnorm(100)) dev.off() # }
Run the code above in your browser using DataLab