Skip to content

show_messages=FALSE only suppresses stderr #718

@andrjohns

Description

@andrjohns

A request that's come up in the BDA course is the ability to supress all output from a $sample() run. At the moment, the best that can be done with show_messages=FALSE and refresh=0 is:

Running MCMC with 4 sequential chains...

Chain 1 finished in 0.1 seconds.
Chain 2 finished in 0.1 seconds.
Chain 3 finished in 0.1 seconds.
Chain 4 finished in 0.1 seconds.

All 4 chains finished successfully.
Mean chain execution time: 0.1 seconds.
Total execution time: 0.8 seconds.

Which I believe is because show_messages doesn't suppress stdout as well. Could be good to either add that as part of the behaviour of show_messages or to add an additional setting to supress all output

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions