O'Reilly logo

Web Application Development with R Using Shiny - Third Edition by Shitalkumar R. Sukhdeve, 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

Functions and modules

We have now gone through a good number of Shiny applications that are focused on different topics. Imagine that we now have to develop a fully-fledged enterprise application with various functionalities as a Shiny application. As the application grows, so will the number of lines of code and its complexity. In situations such as these, applications can become unmanageable. We may also be rewriting the same kind of code repeatedly, thereby increasing the development time. Additionally, variables need to be scoped, which limits the reusability of names. To eliminate these obstacles, we can use modularization.

Modularization is nothing but the use of separating modules according to their functionality. Modules can be defined ...

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