ABSTRACT

In this chapter we build our first, albeit simple, widget. The premise of the chapter is to delve into the widget to understand how it works internally: how one goes from code in the R console to a widget displayed in the web browser. We therefore deconstruct the widget like a child breaking apart a toy in order to look under the hood and understand how each moving piece interacts with one another.