Skip to contents

Access status information of a httpgd graphics device. This function will only work after starting a device with hgd().

Usage

hgd_details(which = dev.cur())

Arguments

which

Which device (ID).

Value

List of status variables with the following named items: $host: Server hostname, $port: Server port, $token: Security token, $hsize: Plot history size (how many plots are accessible), $upid: Update ID (changes when the device has received new information), $active: Is the device the currently activated device.

Examples

if (FALSE) {

hgd()
hgd_details()
plot(1, 1)
hgd_details()

dev.off()
}