Running rstan through TERR


We managed to run rstan in RStudio and TERR so long as we allow compilation of the stanmodel for every run. To save runtime on compilation, rstan allows user to pass in a pre-compiled model into the 'fit' arguement when calling stan function. This works in RStudio, but not in TERR.

Has anyone face the same issue? If so, is there a solution?

Thanks in advance for any feedback.