title: How install R and shiny package on ubuntu server and publish it on shiny-server without launching browser
body: <p>I am pretty new to R and Shiny apps, so please accept my apology if it seems a bit stupid question.
  So, basically what I want is to automate a shiny app dashboard which currently I am running from my windows machine.
  I fetch hourly data from my database and save a file in the working directory of R.</p>
  
  <p>Steps I follow:</p>
  
  <ol>
  <li>Open R studio</li>
  <li>Run my Shiny App and it generates a dashboard on my localhost '<a href="http://127.0.0.1:7790/" rel="nofollow noreferrer">http://127.0.0.1:7790/</a>'</li>
  <li>I click the button on the top right side of it to called "Publish" to publish my dashboard on shiny server "<a href="https://www.shinyapps.io" rel="nofollow noreferrer">https://www.shinyapps.io</a>"</li>
  </ol>
  
  <p>Now I run this process almost every hour manually. I have my <strong>Apache Airflow</strong> running on one of my ubuntu server.</p>
  
  <p>So, I am willing to install <strong>R, Shiny</strong> package on my <strong>ubuntu</strong> server and from there would like call the shiny app and publish my dashboard on shiny server.
  Once I am able to call it from the command line then I think the rest will be easy to schedule it on my <strong>Airflow</strong> tool to run on hourly basis.</p>
  
  <p>Obviusly, I don't want to launch the browser while publishing my shinyApp on shiny server.</p>
  
  <p>Any help on this will be a great help to me. Thanks in advance.</p>