I have the following code:
m1 <- ulam(
alist(
Y ~ dnorm( mu , sigma ) ,
mu <- a + b*( p ) ,
a ~ dnorm( 0 , 0.5 ) ,
b ~ dlnorm( 0 ,0.1 ) ,
sigma ~ dexp(1)
) , data=d, chains =2, cores=2, messages = FALSE, iter = 2000 )
It works fine, but for R notebook I want to supress the output:
...
Chain 2: Iteration: 400 / 2000 [ 20%] (Warmup)
Chain 1: Iteration: 200 / 2000 [ 10%] (Warmup)
Chain 1: Iteration: 400 / 2000 [ 20%] (Warmup)
...
I set the parameter messages = FALSE
but it did not help.
What should I do to suppress such an output?
UPDATE:
Thanks to Phil I found the answer.
I should set stan parameter refresh =0