retrieve binary from database and convert back to original file

Hi,

I saw this post:

https://community.rstudio.com/t/storing-and-retrieving-files-images-in-a-database-from-shiny-app/28122

And wanted to find out how to convert a binary back to the normal file type before it was converted to binary. In the post it mentions these steps:

  • retrieve bytes (as hex) from database if / when necessary...
  • serialize to a file for presentation if / when necessary

How do I serialize back to a file, in this case a pptx file that was stored in a sql db that a shiny app will interface with. Appreciate your time and guidance. Thanks.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.