Learn R Programming

umx (version 4.20.0)

umx_msg: 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)

Value

  • NULL

Arguments

x

the thing you want to pretty-print

References

See Also

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

Examples

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

Run the code above in your browser using DataLab