Web Application Development with R Using Shiny

Shiny and R were made for each other, and this tutorial will show you how to make the most of them. In no time, you’ll be producing fully-featured interactive data summaries to share over the web.

Web Application Development with R Using Shiny

Starting
Chris Beeley

Shiny and R were made for each other, and this tutorial will show you how to make the most of them. In no time, you’ll be producing fully-featured interactive data summaries to share over the web.
$20.99
$34.99
RRP $20.99
RRP $34.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783284474
Paperback110 pages

About This Book

  • Helps you to use Shiny's built in functions to produce engaging and useful user interfaces in hours, not days
  • Enables you to extend Shiny using JavaScript and jQuery with minimal coding
  • Shows you how to write cutting-edge interactive content for the Web

Who This Book Is For

This book is for anybody who wants to produce interactive data summaries over the Web, whether you want to share them with a few colleagues or the whole world. You need no previous experience with R, Shiny, HTML, or CSS to begin using this book, although you will need at least a little previous experience with programming in a different language.

Table of Contents

Chapter 1: Installing R and Shiny and Getting Started!
Installing R
Learning R
Base graphics and ggplot2
Installing Shiny and running the examples
Summary
Chapter 2: Building Your First Application
Program structure
Widget types
Google Analytics application
Summary
Chapter 3: Building Your Own Web Pages with Shiny
Running the applications and code
Shiny and HTML
Custom HTML links in Shiny
Minimal HTML interface
JavaScript and Shiny
jQuery
Exercise
Summary
Chapter 4: Taking Control of Reactivity, Inputs, and Outputs
Showing and hiding elements of the UI
Reactive user interfaces
Advanced reactivity
More advanced topics in Shiny
Animation
Advanced graphics options
Downloading and uploading data
Summary
Chapter 5: Running and Sharing Your Creations
Sharing with the R community
Sharing with the world
Summary

What You Will Learn

  • Produce advanced analysis and graphics using R
  • Implement Shiny's built-in widgets to rapidly build user interfaces
  • Apply reactive programming techniques to handle user interactions with minimal coding
  • Adapt and change your interfaces in response to user input to give your users an engaging and rewarding experience
  • Integrate JavaScript and jQuery with Shiny to add different and exciting content and interactions to your Shiny applications
  • Use HTML and CSS to style your Shiny applications and integrate them seamlessly with your own web content
  • Serve your users better by allowing them to upload their own data and download the results quickly and simply
  • Deploy Shiny applications over the Web using simple and free technologies

In Detail

R is a highly flexible and powerful tool for analyzing and visualizing data. Shiny is the perfect companion to R, making it quick and simple to share analysis and graphics from R that users can interact with and query over the Web. Let Shiny do the hard work and spend your time generating content and styling, not writing code to handle user inputs.

Web Application Development with R Using Shiny is an accessible introduction to sharing interactive content from R using Shiny. You will learn by doing, with each chapter including code and examples to use and adapt for your own applications. By the end of this book, you will be able to build useful and engaging web applications with only a few lines of code – no JavaScript required.

Web Application Development with R Using Shiny will show you how to begin analyzing, visualizing, and sharing your data using practical examples.

This book will teach you how to rapidly prototype and build interactive data summaries using Shiny's built-in widgets and functions. You will learn how to integrate Shiny applications with your existing HTML and CSS, how to greatly extend the power and usability of your applications using JavaScript, and how to quickly deploy them over the Web.

The book uses practical examples to show you how to get the best out of R and Shiny, helping you to produce and share cutting-edge analytics with minimal effort.

Authors

Table of Contents

Chapter 1: Installing R and Shiny and Getting Started!
Installing R
Learning R
Base graphics and ggplot2
Installing Shiny and running the examples
Summary
Chapter 2: Building Your First Application
Program structure
Widget types
Google Analytics application
Summary
Chapter 3: Building Your Own Web Pages with Shiny
Running the applications and code
Shiny and HTML
Custom HTML links in Shiny
Minimal HTML interface
JavaScript and Shiny
jQuery
Exercise
Summary
Chapter 4: Taking Control of Reactivity, Inputs, and Outputs
Showing and hiding elements of the UI
Reactive user interfaces
Advanced reactivity
More advanced topics in Shiny
Animation
Advanced graphics options
Downloading and uploading data
Summary
Chapter 5: Running and Sharing Your Creations
Sharing with the R community
Sharing with the world
Summary

Book Details

ISBN 139781783284474
Paperback110 pages
Read More