umx (version 1.9.1)

umx_set_plot_file_suffix: Set output suffix used in umx plot (structural diagrams) files to disk

Description

Set output file suffix (default = "gv", alternative is "dot"). If you call this with no value, it will return the current setting. If you call it with TRUE, it toggles the setting.

Usage

umx_set_plot_file_suffix(umx.plot.suffix = NULL, silent = FALSE)

Arguments

umx.plot.suffix

the suffix for plots files (if empty, returns the current value of umx.plot.format). If "TRUE", then toggles

silent

If TRUE, no message will be printed.

Value

- Current umx.plot.suffix setting

References

- http://tbates.github.io, https://github.com/tbates/umx

See Also

Other Get and set: umx_get_checkpoint, umx_set_auto_plot, umx_set_auto_run, umx_set_checkpoint, umx_set_condensed_slots, umx_set_cores, umx_set_optimizer, umx_set_plot_format, umx_set_table_format

Examples

Run this code
# NOT RUN {
umx_set_plot_file_suffix() # print current state
old = umx_set_plot_file_suffix(silent = TRUE) # store current value
umx_set_plot_file_suffix("dot")
umx_set_plot_file_suffix("gv")
umx_set_plot_file_suffix(old) # reinstate
# }

Run the code above in your browser using DataLab