search for: are_messages_suppressed

Displaying 2 results from an estimated 2 matches for "are_messages_suppressed".

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. ----- Original Mail ----- Von: "Ivan Krylov" <krylov.r00t at gmail.com> An: "Nino Hardt" <me at ninohardt.com> CC: r-devel at r-project.org Gesendet: Sonntag, 19. Februar 2023 1...
2023 Feb 19
1
R: determine if `suppressMessages()` has been invoked
Hi all, I would like to create a function that detects if suppressMessages has been invoked upon running that same function. I was looking through {https://cran.r-project.org/doc/manuals/r-release/R-ints.html}, but I haven't found an answer. I do not understand **how** suppressMessages works. I have not received an answer on SO