O'Reilly logo

Web Application Development with R Using Shiny - Second Edition 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 that fairly minimal amounts of code will be required. We are going to take a look at another couple of toy examples.

Note

Please note that these examples do NOT represent best practice in coding. 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 want to make use of HTML, JavaScript (and/ or jQuery), and CSS in the most appropriate and efficient way.

The connection between JavaScript and Shiny is another reason to recommend RStudio as an IDE because ...

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