This is a helper function to write some resulting data from chrome to file. It will:
decode the base64 encoded raw data
write to file using base::writeBin()
It will be useful for function like Page$printToPDF()
1 | write_base64(res, con)
|
res |
A resulting list object with some |
con |
A connection object. See base::writeBin(). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.