ABSTRACT

This chapter covers bidirectional communication in great depth by building an application (and a package) that allows running an image recognition model in the browser to classify images of birds. We cover using dependencies and static files with Shiny as well as how to preprocess data sent from the front-end to the server in order to make it more friendly to R users. Finally we package the integration made in the Shiny application in order to make it shareable and reusable.