msg_encode | R Documentation |
Converts an object into a base64 string
msg_encode(x)
x |
A serializeable object |
character
a base64 encoded string
## Not run: library(jsonlite) mtcars %>% toJSON(auto_unbox = TRUE) %>% msg_encode() %>% PubsubMessage() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.