## Not run:
# # make a client
# cli <- etcd()
#
# # ping
# ## ping to make sure it's up
# cli$ping()
#
# # version
# ## get etcd version information
# cli$version()
#
# # etcd variables
# cli$host
# cli$port
# cli$api_version
# cli$allow_redirect
# cli$scheme
#
# # set a different host
# etcd(host = 'stuff.com')
#
# # set a different port
# etcd(host = 3456)
#
# # set a different etcd API version
# etcd(host = 'v3')
#
# # set a different http scheme
# etcd(scheme = 'https')
#
# # don't allow redirects
# etcd(allow_redirect = FALSE)
# ## End(Not run)
Run the code above in your browser using DataLab