Displaying 1 result from an estimated 1 matches for "msg_call".
Did you mean:
mnt_call
2023 Feb 19
2
R: determine if `suppressMessages()` has been invoked
Awesome, this gets the job done.
To answer your question:
When using C or C++ via Rinside or within a package, those functions do not listen to suppressMessages, e.g. `Rprintf` keeps printing to the console. Since it's common to use wrapper functions in R anyway, they can run `are_messages_suppressed` and pass the information on to an explicit `verbose` argument of the C / C++ function.