Software  /  ,

Shiny allows web applications with R

Nov 13, 2012

RStudio, the folks behind the IDE for R released last year, continues to expand their offerings for current and future R users. Shiny is RStudio’s most recent release, and it aims to make R web applications easier to make and share.

The main advantage is that you can create user interfaces that show R output, without HTML and JavaScript. There are essentially two parts to each app that you write: the client and the server. You load the Shiny package, create a client and server, and you’re off to the races.

However, don’t get too excited about R on the Web yet. The apps are meant to run locally, so to share an application with someone, you have to send them the code for them to run on their own. RStudio is working on a paid service that lets you host your apps online. Or, because Shiny is open source, you can try running it on your own, if you like.

Favorites

Most popular porn searches, by state

We’ve seen that we can learn from what people search …

Years You Have Left to Live, Probably

The individual data points of life are much less predictable than the average. Here’s a simulation that shows you how much time is left on the clock.

Life expectancy changes

The data goes back to 1960 and up to the most current estimates for 2009. Each line represents a country.

Visualizing the Uncertainty in Data

Data is an abstraction, and it’s impossible to encapsulate everything it represents in real life. So there is uncertainty. Here are ways to visualize the uncertainty.