powered by
Restart your Couchdb instance
restart(cushion = "localhost", as = "list", ...)
A Cushion object. Required.
Cushion
(character) One of list (default) or json
Curl args passed on to HttpClient
HttpClient
JSON as a character string or a list (determined by the as parameter)
as
# NOT RUN { user <- Sys.getenv("COUCHDB_TEST_USER") pwd <- Sys.getenv("COUCHDB_TEST_PWD") (x <- Cushion$new(user=user, pwd=pwd)) # restart(x) # }
Run the code above in your browser using DataLab