Learn R Programming

httpgd (version 1.3.1)

hgd_state: httpgd device status.

Description

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

Usage

hgd_state(which = dev.cur())

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.

Arguments

which

Which device (ID).

Examples

Run this code
hgd()

hgd_state()
plot(1, 1)
hgd_state()

dev.off()

Run the code above in your browser using DataLab