Thank you. The webshot then magick method worked for me. I encountered a message to install phantomjs so I followed that. So now the first part is: webshot::install_phantomjs() webshot::webshot("presentation.html", "presentation.png")