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