ugd_close | R Documentation |
This achieves the same effect as grDevices::dev.off()
,
but will only close the device if it has the unigd type.
ugd_close(which = dev.cur(), all = FALSE)
which |
Which device (ID). |
all |
Should all running unigd devices be closed. |
Number and name of the new active device (after the specified device has been shut down).
ugd()
hist(rnorm(100))
ugd_close() # Equvalent to dev.off()
ugd()
ugd()
ugd()
ugd_close(all = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.