This achieves the same effect as grDevices::dev.off(),
but will only close the device if it has the httpgd type.
Usage
hgd_close(which = dev.cur(), all = FALSE)This achieves the same effect as grDevices::dev.off(),
but will only close the device if it has the httpgd type.
hgd_close(which = dev.cur(), all = FALSE)