title: Memory allocation when using Shiny
body: <p>I am using Shiny to run a pretty simple simulation in <strong>R</strong>. However I run into problems with memory, and get the message:</p>
  
  <blockquote>
    <p>"Error: cannot allocate vector of size 274.8 Mb" etc. </p>
  </blockquote>
  
  <p>But when I run the same code in <strong>R Studio</strong>, it works fine. Any general ideas how to increase the memory allocation to Shiny? Many thanks. Andrew.</p>