Shiny, deSolve and ggplot play nicely together

January 24, 2013

(This article was first published on gRaphics!, and kindly contributed to R-bloggers)

This is just a quick post (after a long absence) to quickly share my first Shiny attempt. The aim is to make available mechanistic models to coworkers through a web-based interface. I had planned to use RApache and RGTK+, but the arrival of Shiny has changed the playing ground dramatically, and for the better. I love the fact that the pieces are ‘reactive’ and I don’t have to be bothered by making sure that every time something changes all the relevant dependencies are also updated… In order to keep things easy, graphically nice and not to get bogged down in the tiny details of my actual work, I use the Lorent’z system of differential equations once again. I post below the gist for server.R, ui.R, and the final result:

To leave a comment for the author, please follow the link and comment on their blog: gRaphics!. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)