The developers of Shiny themselves noted that although it has always been possible to produce entire Shiny applications in HTML, it is very rare to find any examples where somebody has done so. This is probably because of Shiny's ability to produce attractive applications using pure R code (and its ability to incorporate snippets of HTML), as well as the relative complexity of writing the whole interface yourself. To make things simpler, Shiny 0.13 added the ability to use HTML templates. Using an HTML template, you can very easily mix together HTML and Shiny code. There are two main ways of doing this: firstly by defining the code inline within the HTML, and secondly by defining it with the ui.R file. In both cases, you will need three files—a server.R file, a ui.R file, and another file, at the same directory level (not in a www/ folder), which will...




















































