myConn <- couch_http_connection("localhost")
The variable "myConn" can now be used as parameters to other functions.
For convenience a default connection can also be created with couch_set_default_connection using the same parameters.
Once a connection object exists, you may want to make sure it is connecting correctly with the couch_ping function. If you are properly connected the response should be like:
Response [http://localhost:5984] Status: 200 Content-type: text/plain; charset=utf-8 Size: 151 B {"couchdb":"Welcome","uuid":"c1a367c91517195b57ddafe788a72b75","version":"1.4.0","vendor" {"name":"...