Jump to ratings and reviews
Rate this book

Web Application Development with R Using Shiny

Rate this book
Key Features Use Shiny's built-in functions to produce engaging user interfaces, and integrate them into your own web pages Implement powerful user-contributed packages to access graphics from the web, make your own dashboards, use interactive maps, and more Extend Shiny using JavaScript and jQuery with minimal coding using this handy, step-by-step guide Book Description

R is a highly flexible and powerful tool for analyzing and visualizing data. Most of the applications built using various libraries with R are desktop-based. But what if you want to go on the web? Here comes Shiny to your rescue!

Shiny allows you to create interactive web applications using the excellent analytical and graphical capabilities of R. This book will guide you through basic data management and analysis with R through your first Shiny application, and then show you how to integrate Shiny applications with your own web pages. Finally, you will learn how to finely control the inputs and outputs of your application, along with using other packages to build state-of-the-art applications, including dashboards.

What you will learn Build interactive applications using Shiny's built-in widgets Use the built-in layout functions in Shiny to produce user-friendly applications Integrate Shiny applications with web pages and customize them using HTML and CSS Harness the power of JavaScript and jQuery to customize your applications Engage your users and build better analytics using interactive plots Debug your applications using Shiny's built-in functions Deliver simple and powerful analytics across your organization using Shiny dashboards Share your applications with colleagues or over the Internet using cloud services or your own server About the Author

Chris Beeley works for Nottinghamshire Healthcare NHS Trust as the lead analyst and programmer for staff and patient experience. He uses a variety of open source tools (PHP/MySQL, Apache, R, Shiny, and Ubuntu) to collect, collate, analyze, and report on patient and staff experience throughout the organization. He was the author of the previous edition of this book.

He has been a keen user of R and a passionate advocate of open source tools in research and healthcare settings, having completed his PhD. He has made extensive use of R (and Shiny) to automate analysis and report on a new patient feedback website. This was funded by a grant from the NHS Institute for Innovation and made in collaboration with staff, service users, and carers within the Trust, particularly individuals from the Involvement Centre.

Table of Contents Getting Started with R and Shiny! Building Your First Application Building Your Own Web Pages with Shiny Taking Control of Reactivity, Inputs, and Outputs Advanced Applications I – Dashboards Advanced Applications II – Using JavaScript Libraries in Shiny Applications Sharing Your Creations

196 pages, Kindle Edition

Published January 29, 2016

16 people are currently reading
40 people want to read

About the author

Chris Beeley

3 books
Chris Beeley works for Nottinghamshire Healthcare NHS Trust as the lead analyst and programmer for staff and patient experience. He uses a variety of open source tools (PHP/MySQL, Apache, R, Shiny, and Ubuntu) to collect, collate, analyze, and report on patient and staff experience throughout the organization.

He has been a keen user of R and a passionate advocate of open source tools in research and healthcare settings, having completed his PhD. He has made extensive use of R (and Shiny) to automate analysis and report on a new patient feedback website. This was funded by a grant from the NHS Institute for Innovation and made in collaboration with staff, service users, and carers within the Trust, particularly individuals from the Involvement Centre.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
8 (27%)
4 stars
8 (27%)
3 stars
7 (24%)
2 stars
5 (17%)
1 star
1 (3%)
Displaying 1 - 5 of 5 reviews
4 reviews8 followers
January 24, 2014
Full disclosure: I was given a free review copy of this book by the publisher. This review refers to the ebook version.

Shiny is elegant and simple way to share interactive R analyses on the web. It is essentially a domain-specific language for producing HTML from R in the UI file plus a set of simple server wrapper functions for the business logic of your analysis. This simplicity will appeal to amateur and professional data scientists/statisticians who are interested in getting their work out there with minimum fuss and for whom web development is not their primary focus.

If you are an R user planning to use Shiny at all, then you want to be getting this book. It really gets across the simplicity of the framework; it is well laid out and covers a range of main features from controlling analyses with html buttons and sliders to more advanced graphics options and animation. Referring to this book is far less hassle than trawling through help files and forums.

There are a few problems with the book, however. First, the examples are all rather lightweight. I would have liked the book to build up to one big, complex, showstopper app that really showed off the power of the Shiny platform. Second, I was unsure of the audience that the book was aimed at. It states at the beginning that “You need no previous experience with R, Shiny, HTML or CSS to begin using this book” and the first chapter is a very cursory introduction to installing and using R. Frankly, you would not want to be learning R itself from this book so a lot of this very basic introductory material seems superfluous. Later on, the book casually drops in references to Javascript, JQuery and custom html tags with barely a mention. I would guess that most people interested in this book are already familiar with R, so I would have much preferred a gentle introduction to web development than one on basic R syntax and data structures. Lastly, the book is very light on details for using the shiny-server for hosting on your own servers – it basically just says “Go and look at the documentation”.

That said, this book is a solid introduction to Shiny and would be an important addition to any data scientist’s library. There is plenty of room though for a future cookbook-style guide to fill in some of the gaps.
1 review
January 23, 2014
Here is a quick book review for those who are interested in developing Shiny web apps.

The book begins with a short but essential introduction to some key R functions for handling data and graphics. Chapter 2 is a walk-through of key Shiny components nicely demonstrated by an example of Google Analytics API integration. It then discusses how Shiny can be further extended with the use of HTML, CSS, JavaScript and jQuery. I find chapter 4 most useful as it goes deep into the practical aspects of handling reactivity and taking full control of inputs and outputs. The book ends with some tips on code sharing and browser compatibility.

I find this book really useful as I am trying to implement new functionality and ideas into my CrimeMap (http://bit.ly/bib_crimemap). It illustrates very well what you can do with Shiny using lots of practical examples.
Profile Image for Alvaro Tejada Galindo.
178 reviews5 followers
April 4, 2017
This is a really book on web development with R using Shiny. Even for an experienced Shiny developer, there's a lot of things that you might know...so I had a great time reading it. Lots of simple but useful examples...
Profile Image for Evan Zamir.
29 reviews6 followers
January 25, 2014
(Disclaimer: I was given a free copy of the book from the publisher to review)

If you are a data scientist who is not also a web developer, and have been using R for data analyses already, Shiny Server is a fantastic new package that will enable you to quickly put together great looking web dashboards with all the power of R at your fingertips.

I learned about Shiny late in 2012 and started using it regularly early last year. Without a book to guide me in those early days, I basically used the Shiny forum on Google Groups and the Shiny website which has a nice tutorial to follow.

What I really wanted during that time was a book like Beeley's introduction here. He basically takes you through all the necessary steps in putting together Shiny websites. Shiny has a fairly steep learning curve and some advanced concepts like reactive functions, which are covered here fairly completely.

Basically, if you have heard about Shiny and are interested (you probably are, if you're reading this, right?) already, this book is a no-brainer as an introduction right now, especially with nothing else on the market as of this review.
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.