I continue to get the C stack error that crashes R on Windows 10. I have run Stan with nothing in makevars.win and with
CXX14FLAGS=-O3 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 but I continue to get this error.
Models compile fine and I can run the model but after running about 3 - 5 Stan models I’ll get the C stack error that crashes R. Normally this happens at the end of sampling but sometimes it just seems to happen randomly. This seems to be a problem with Rtools and not with Stan per se but is compounded by the fact that I need C++ to run rstan.