I’m fitting the same stan model to a number of different data sets in a single, parallelised function. To keep the output on the command line clean I would like to suppress the messages printed when a new parallel worker is started (as below):
starting worker pid=29827 on localhost:11281 at 17:11:39.574
Is there any straightforward way to suppress these messages? I’ve tried a number of options including withCallingHandlers(), suppressMessages(), and capture.output() but these messages are still printed.
I’m parallelising across stan models rather than across chains, so the stan ‘cores’ param is set to 1L in all cases.