umx_msg: Print the name and compact contents of variable.

umx_msgR Documentation

Print the name and compact contents of variable.

Description

Helper function to ease debugging with console notes like: "ObjectName = \<Object Value\>". This is primarily useful for inline debugging, where seeing, e.g., "nVar = 3" can be useful. The ability to say umx_msg(nVar) makes this easy.

Usage

umx_msg(x)

Arguments

x

the thing you want to pretty-print

Value

  • NULL

References

See Also

Other Miscellaneous Utility Functions: install.OpenMx(), libs(), qm(), umx, umxLav2RAM(), umxModelNames(), umxRAM2Lav(), umxVersion(), umx_array_shift(), umx_find_object(), umx_lower.tri(), umx_open_CRAN_page(), umx_pad(), umx_print()

Examples

a = "brian"
umx_msg(a)
b = c("brian", "sally", "jane")
umx_msg(b)
umx_msg(mtcars)

tbates/umx documentation built on Dec. 14, 2024, 11:28 a.m.