nlmixr (version 1.0.0-7)

nlmixrPrint: Print x using the message facility

Description

This allows the suppressMessages to work on print functions. This captures the output via R.Util's captureOutput function and then sends it through the message routine.

Usage

nlmixrPrint(x, ...)

Arguments

x

object to print

...

Other things output

Details

catpureOutput was used since it is much faster than the internal capture.output see https://www.r-bloggers.com/performance-captureoutput-is-much-faster-than-capture-output/