title: Load a csv file in R and share in all sessions?
body: <p>I have a shiny application that uses a csv file to generate different figures. I upload my application in my personal linux server using shiny-server.
  I use this structure for my application</p>
  <ul>
  <li>global.R</li>
  <li>ui.R</li>
  <li>server.R</li>
  </ul>
  <p>Inside my <strong>global.R</strong> file I have this line, which help me to load and read my csv file</p>
  <pre><code>df &lt;- read_csv(&quot;../Desktop/covid_2021-02-15.csv&quot;)
  </code></pre>
  <p>But my application is very slow, I read that objects in the global.R script, are read only one time and are share in all sessions.</p>
  <p>Is there other way to load this data frame to have a more efficient application?</p>