Learn R Programming

httpgd (version 1.0.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())

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

Run this code
# NOT RUN {
hgd()
hgd_state()
plot(1,1)
hgd_state()

dev.off() 
# }

Run the code above in your browser using DataLab