Two questions about output when running stan() or sampling():
Are the exception messages stored anywhere in the fit object returned, or are they just written to stderr? If I’m running a series of models or happen to do anything that produces a lot of output after running stan(), the exception messages get scrolled off the top of my console buffer and lost.
Is there any way to redirect this output? I’ve tried using sink() and capture.output(), but warning messages and progress messages still are printed on the console.