umx (version 4.0.0)

umx_set_silent: Print anything when running a model?

Description

Sets a umx property "silent" to TRUE or FALSE. This is fed to OpenMx::mxRun() inside functions like umxRAM(). If TRUE, then the progress messages from model runs are suppressed. Useful for power simulations etc.

Usage

umx_set_silent(value = NA, silent = FALSE)

Arguments

value

If TRUE mxRun is silent in most umx Models. Empty returns the current value.

silent

If TRUE, no message will be printed.

Value

  • Current silent value

References

See Also

Other Get and set: umx_get_checkpoint(), umx_get_options(), umx_set_auto_plot(), umx_set_auto_run(), umx_set_checkpoint(), umx_set_condensed_slots(), umx_set_cores(), umx_set_data_variance_check(), umx_set_mvn_optimization_options(), umx_set_optimizer(), umx_set_plot_file_suffix(), umx_set_plot_format(), umx_set_separator(), umx_set_table_format(), umx

Examples

Run this code
# NOT RUN {
library(umx)
old = umx_set_silent() # print & store existing value
umx_set_silent(FALSE, silent = TRUE) # set to FALSE
umx_set_silent(old)   # reinstate
umx_set_silent() # print existing value
# }

Run the code above in your browser using DataLab