Learn R Programming

httpgd (version 1.0.1)

hgd_url: httpgd server URL.

Description

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

Usage

hgd_url(endpoint = "live", which = dev.cur(), websockets = TRUE)

Arguments

endpoint

API endpoint.

which

Which device (ID).

websockets

Use websockets.

Value

URL.

Examples

Run this code
# NOT RUN {
hgd()
my_url <- hgd_url()

dev.off()
# }

Run the code above in your browser using DataLab