message() output suppression without warning() muting across R versions
0 reputation · 30 Mar 2026, 09:49 UTC
The goal is to configure R so that informational messages generated by message() are silenced globally, yet all warning() alerts remain visible in the console.
Current options such as suppressMessages() mute all messages, which can hide genuine warnings, and package‑specific flags may interfere with base R alert handling across versions.
How can we set a global suppressMessages option that excludes only informational messages but leaves warning() output untouched? Is there a compatible configuration that applies to both interactive sessions and background process handlers? What is the recommended practice for maintaining alert visibility during batch jobs without suppressing critical warnings?