Site icon R-bloggers

Show R shiny app in WordPress

[This article was first published on R – Artificial thoughts, 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.

This post we turn to R-shiny.

  1. First, we embed someone else’s existing shiny-app as an example to check that everything works as expected. For the embedding we use an iframe.
  2. We install the wordpress plugin Reframer

The R-shiny app is from http://stla.github.io and is referenced in this post


The entire code is this

<iframe width="450" height="700px" src="https://stla.shinyapps.io/3Dsliced/" allowfullscreen="allowfullscreen">
</iframe>

Success!

So with this out of the way, next we’ll show our own shiny app.

To leave a comment for the author, please follow the link and comment on their blog: R – Artificial thoughts.

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.