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

Chapter 6. Advanced Applications II – Using JavaScript Libraries in Shiny Applications

In this chapter, we're going to take a look at user-contributed packages, which allow you to easily use JavaScript plotting libraries in your Shiny applications. It is, of course, possible to use JavaScript and its libraries in Shiny by writing all the code yourself, and we covered incorporating JavaScript in an application in Chapter 3, Building Your Own Web Pages with Shiny. You may need to write something very specific in JavaScript, but if you wish to use some of the wonderful graphical libraries in JavaScript, you may find that somebody has done all of the hard work for you and produced an R package, which allows you to produce the graphics straight from R. In this chapter, we will take a look at some of the user-contributed packages, which allow you to access JavaScript plotting straight from R, and some of the plots, which they enable you to produce. However, there are other examples out there and...