Embedded R Shiny apps

In the following week(s) I’ll explain on how to create and deploy an interactive R application (referred to as Shiny) to your blog/website. Here is a simple example were the throw of a dice is simulated once the button is pressed. The number on which the dice “lands” is recorded and added the associated bin of the histogram. Theoretically, the histogram should be almost “flat” after a large number of iterations.

https://etiennekoen.shinyapps.io/rolldice

It seems that iframes are not supported in WordPress.com. For now please click on the link above. After further investigation it seems that iframes, for security reasons, are not supported in WordPress (.com) sites. This can be enabled by hosting the site yourself and installing one of many plugins to enable this functionality for WordPress (.org) blogs.

However, it is possible to embed youtube videos using the short code html tags, even for WordPress.com hostes sites.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s