title: Shiny errors due to the very large data size
body: <p>I've created a Shiny app which works fine for 1MM records. However, when I ran it using 5MM records, I keep getting some errors, such as the one below, which is due to the need to increase the storage capacity of R.</p>
  
  <pre><code>Warning: Error in : cannot allocate vector of size 533.6 Mb
  </code></pre>
  
  <p>Do you have any suggestions on how to run Shiny app on very large datasets? Any codes that might be useful?</p>
  
  <p>Thanks in advance.</p>