Site icon R-bloggers

Embedding R-generated Interactive HTML pages in MS PowerPoint

[This article was first published on Mango Solutions, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

By Richard Pugh – Commercial Director, UK. 

Usually when I create slide decks these days I used markdown and slidy.  However, I recently was asked to present using an existing Revolution Microsoft PowerPoint template.

Trouble is, I’ve been spoilt with the advantages of using a HTML-based presentation technology and I wanted to include some interactive web elements.  In particular, I wanted to use a motion chart generated with the fantastic googleVis package.  Of course, that presented an issue – how was I to include some interactive HTML elements in my PowerPoint deck?

The answer turned out to involve a PowerPoint plug-in called LiveWeb.  These were the steps I took:

 

 

 

 

 

Btw – this also works for other HTML content, such as Shiny apps.  Here’s one from the RStudio Shiny Example page …

 

So, if you have want to use MS PowerPoint, it is still possible to include R-generated interactive HTML content using the above steps.

 

To leave a comment for the author, please follow the link and comment on their blog: Mango Solutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.