C stack size differs in Rstudio and RGUI

Hello, everyone.

I ran into an error like this :
Error: C stack usage 15923008 is too close to the limit

then I checked the stack size using Cstack_info function.

and it gives different results in Rstudio and RGUI on the same PC.

in Rstudio

Cstack_info()
size current direction eval_depth
15922790 21864 1 2

in RGUI
Cstack_info()
size current direction eval_depth
63737856 11288 1 2

RGUI has a bigger Cstack size

So did anyone have some idea of how to set Cstack size in Rstudio to make it the same as RGUI?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.