.runApp runs the app in RStudio's 'viewer' pane (if the app is launched under RStudio), or in the browser.
.runApp
Applications would only start under some versions of shiny, due to a reference to either 'rstudio' or 'rstudioapp' search path element.