Re: [Rd] Querying from R if '--quiet' had been set

2025-06-27 Thread Dirk Eddelbuettel
Thanks to Martin for additional off-list discussion; this is now addressed 'both ways' as I did file bug report #18913 with the short patch but also have a short check in .Rprofile serving the same purpose: ## interactive sessions get a fortune cookie (needs fortunes package) quiet <- an

Re: [Rd] Querying from R if '--quiet' had been set

2025-06-27 Thread Dirk Eddelbuettel
On 27 June 2025 at 17:21, Martin Maechler wrote: | > Dirk Eddelbuettel | > on Fri, 27 Jun 2025 09:22:36 -0500 writes: | | > The interactive() predicate is helpful in scripted environments. I sometimes | > also invoke R with '--quiet' and am unable to suppress messages from

Re: [Rd] Querying from R if '--quiet' had been set

2025-06-27 Thread Martin Maechler
> Dirk Eddelbuettel > on Fri, 27 Jun 2025 09:22:36 -0500 writes: > The interactive() predicate is helpful in scripted environments. I sometimes > also invoke R with '--quiet' and am unable to suppress messages from my own > startup code as I cannot test if this flag was

[Rd] Querying from R if '--quiet' had been set

2025-06-27 Thread Dirk Eddelbuettel
The interactive() predicate is helpful in scripted environments. I sometimes also invoke R with '--quiet' and am unable to suppress messages from my own startup code as I cannot test if this flag was set or not. (I can work around it by setting an additional environment variable, but that is clun