## Not run:
# # This code creates a document containing a small list for storage in
# # the "localhost" database with the key "testDoc".
# myDoc <- couch_new_object(list(a = 1,b = 2),"localhost","testDoc")
#
# # Same as above but with json entered directly (not recommended).
# myDoc <- couch_new_object('{"a":1,"b":2}',"localhost","testDoc")
# ## End(Not run)
Run the code above in your browser using DataLab