base64enc | R Documentation |
Encodes a character string, raw vector or other object to base64 encoding.
base64enc(x, convert = TRUE)
x |
an object. |
convert |
[default TRUE] logical TRUE to encode to a character string or FALSE to a raw vector. |
A character string or raw vector (with no attributes) is encoded as is, whilst all other objects are first serialized (using R serialisation version 3, big-endian representation).
A character string or raw vector depending on the value of ‘convert’.
This implementation is based that by 'The Mbed TLS Contributors' under the 'Mbed TLS' Trusted Firmware Project at https://www.trustedfirmware.org/projects/mbed-tls.
base64dec
base64enc("secret base")
base64enc(as.raw(c(1L, 2L, 4L)), convert = FALSE)
base64enc(data.frame())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.