title: Automatically open R Shiny App in Chrome Web Browser only while Internet Explorer is the default browser
body: <p>How to automatically open an R Shiny app only in the Chrome Web Browser, while Internet Explorer is the default browser? </p>
  
  <p>Example of a run.r file:</p>
  
  <pre><code>require(shiny)
  folder_address = 'C:/Temp/Test/'
  runApp(folder_address,launch.browser=TRUE)
  </code></pre>
  
  <p>which is called by a .bat file:</p>
  
  <pre><code>START /MIN "" "R.exe" CMD BATCH "C:\Temp\Test\run.r"
  </code></pre>
  
  <p>I want to use runApp() and not open it through RStudio.</p>