| am_get_actor_hex | R Documentation |
Returns the actor ID of an Automerge document as a hex-encoded string.
This is more efficient than converting the raw bytes returned by
am_get_actor() using R-level string operations.
am_get_actor_hex(doc)
doc |
An Automerge document |
A character string containing the hex-encoded actor ID
doc <- am_create()
actor_hex <- am_get_actor_hex(doc)
cat("Actor ID:", actor_hex, "\n")
am_close(doc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.