O'Reilly logo

Web Application Development with R Using Shiny by Chris Beeley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JavaScript and Shiny

With Shiny, JavaScript, and jQuery, you can build pretty much anything you can think of; moreover, Shiny and jQuery will do a lot of the heavy lifting which means fairly minimal amounts of code will be required. We are going to have a look at another couple of toy examples. Firstly, we will look at using JavaScript to manipulate the inputs of a Shiny application, and then at using jQuery to manipulate the outputs. Please note that these examples do not represent the best practice in coding as they do not make the best use of CSS, HTML, or jQuery. They are just there to demonstrate the principles and show you how easy it is. In your own applications, you will need to make use of HTML, JavaScript (and/or jQuery), and CSS in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required