base64 | R Documentation |
Wrapper for openssl::base64_encode.
encode(input, output = tempfile(), linebreaks = TRUE)
decode(input, output = tempfile())
input |
input file |
output |
output file |
linebreaks |
insert linebreaks to make output human readable See openssl::base64_encode |
# encode a file
myfile <- R.home("COPYING")
tmp <- tempfile()
base64::encode(myfile, tmp)
# decode it back
orig <- tempfile()
base64::decode(tmp, orig)
readLines(orig)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.