f R is having quite the growth spurt these days . This popularity may seem peculiar given its statistical roots. However, through the amazing work of Hadley Wickham , and the entire R Studio team, this is changing. One example of this newfound power is being able to write crisp web apps in a laughably minuscule amount of code. In this piece, I’ll walk through how to create a simple wordcloud web app above using just R! No Javascript, HTML or CSS whatsoever. Final project Up & Running Simple ‘Hello World’ with R + Shiny The pathway to Hello World is straightforward. You’ll need to install R. For Mac users the simplest way is Homebrew . If not, you can always get it from CRAN . You get an R console by simply typing R at your terminal of choice. Next, you’ll want to create a file called app.R with the code below. The main driver behind everything we will be doing is an R package called Shiny . What exactly is this magical package? S...
Comments
Post a Comment