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

Chapter 2. Building Your First Application

In the previous chapter we've looked at R, learned some of its basic syntax, and seen some examples of the power and flexibility that R and Shiny offer. This chapter introduces the basics of Shiny. In this chapter we're going to build our own application to interactively query results from the Google Analytics API. We will cover the following topics:

  • Basic structure of a Shiny program
  • Selection of simple input widgets (checkboxes and radio buttons)
  • Selection of simple output types (rendering plots and returning text)
  • Selection of simple layout types (page with sidebar and tabbed output panel)
  • Handling reactivity in Shiny

Program structure

In this chapter, in just a few pages, we're going to go from the absolute ...

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