I'm working on a shiny server and I'm doing some quite complex operations. 
The problem I've found is that, after some minutes working on large data frames, the app crashed with this error: 
Error: C stack usage  7969194 is too close to the limit. Execution halted.
I googled it and I've found that from the cmd in ubuntu with this command ulimit -s 16384 you can augment the stack size but I didn't find how to do it in the shiny server. 
Please, does someone have some ideas?
Thank you
 
    