Book Image

Web Application Development with R Using Shiny Second Edition - Second Edition

By : Chris Beeley
Book Image

Web Application Development with R Using Shiny Second Edition - Second Edition

By: Chris Beeley

Overview of this book

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.
Table of Contents (14 chapters)
Web Application Development with R Using Shiny Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Summary


In this chapter, we have used a lot of different JavaScript libraries and R packages and have produced a diverse range of plots, many of which you will find useful in your own applications. It's universally true that the actual plotting instructions themselves are very simple (although you can highly customize the output with different arguments) as long as your data is in the right format. It's worth taking the time to understand the types of inputs the packages accept, and if you don't get the results, you want a good place to start fixing the problem by looking at the structure of the input (run str(theInput) to have R show you the structure of an input). Another potential source of problems is to ensure that Shiny passes arguments to your functions in the correct way. Keep in mind that they will often be strings that will not always function in the same way as in standard R plotting instructions (for example, in the rCharts example, when using a formula-based plotting instruction...