# nmSupressMsg() is called with nlmixr2()
# In nlmixr2, we use REprintf so that interrupted threads do not crash R
# if there is a user interrupt. This isn't captured by R's messages, but
# This interface allows the `suppressMessages()` to suppress the C printing
# as well
# If you want to suppress messages from nlmixr2 in other packages, you can use
# this function
Run the code above in your browser using DataLab