Learn R Programming

httpgd (version 1.0.1)

hgd_clear: Clear all httpgd plot pages.

Description

This function will only work after starting a device with hgd().

Usage

hgd_clear(which = dev.cur())

Arguments

which

Which device (ID).

Value

Whether there were any pages to remove.

Examples

Run this code
# 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