An introduction to server.R and UI.R
One of the special requisites to build web applications with Shiny is either the inclusion of, at least, the server.R and UI.R files or the inclusion of app.R, which should contain the equivalent codes of both UI.R and server.R. Shiny searches for these files to run the application.
UI.R stands for User Interface. In fact, UI.R is the file where the different parts of the application's frontend (that is, what the end users see) is defined. server.R, on the contrary, is the backend or the engine of the application, that is, where the data is processed.
As in any other web application, the Shiny-based applications have an underlying input-output concept where the user inserts information (input) and gets something ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access