umx_set_silent: Turn off most console and summary output from umx
Description
Running multiple analyses or simulations, it can be handy to turn off the automatic summary,
graphing, and printing that umx does to help interactive sessions. umx_set_silent does this.
Summary and graph output, as well as progress and durable console output will be suppressed.
Usage
umx_set_silent(value = NA, silent = FALSE)
Value
Current silent value
Arguments
value
Boolean stating if umx Models should run silently (TRUE).
silent
If TRUE, this function itself will just return the state of the option, with no user message.
Details
Not every function knows about silent, but most, like umxRAM() etc do.
Under the hood, umx_set_silent sets options("umx_silent"). This can be set to either TRUE or FALSE.
If TRUE, then the progress messages from model runs are suppressed. Useful for power simulations etc.
library(umx)
old = umx_set_silent() # print & store existing valueumx_set_silent(FALSE, silent = TRUE) # set to FALSEumx_set_silent(old) # reinstateumx_set_silent() # print existing value