[Rd] Suppress specific warnings

2013-04-18 Thread Felix Schönbrodt
Hello, is there a convenient way to suppress only *specific* warnings? (I know about ?suppressWarnings) I depend on another package, from which I want to suppress only some warnings, but not others. Felix __ R-devel@r-project.org mailing list

Re: [Rd] Suppress specific warnings

2013-04-18 Thread Duncan Murdoch
On 13-04-18 7:31 AM, Felix Schönbrodt wrote: Hello, is there a convenient way to suppress only *specific* warnings? (I know about ?suppressWarnings) I depend on another package, from which I want to suppress only some warnings, but not others. This is difficult in most cases, because most

Re: [Rd] Suppress specific warnings

2013-04-18 Thread Martin Morgan
On 04/18/2013 05:57 AM, Duncan Murdoch wrote: On 13-04-18 7:31 AM, Felix Schönbrodt wrote: Hello, is there a convenient way to suppress only *specific* warnings? (I know about ?suppressWarnings) I depend on another package, from which I want to suppress only some warnings, but not others.

Re: [Rd] Suppress specific warnings

2013-04-18 Thread Brian Lee Yung Rowe
For my logging package (futile.logger) any log statements coming from a package are assigned to a package namespace. This way you have control of log messages at a package level (e.g. I can set the default log threshold to DEBUG, while package 'A' has a log threshold of WARN). I seems a

Re: [Rd] suppress *specific* warnings?

2012-10-26 Thread Martin Maechler
Duncan Murdoch murdoch.dun...@gmail.com on Thu, 25 Oct 2012 06:51:25 -0400 writes: On 12-10-25 5:28 AM, Martin Maechler wrote: Sorry guys, for coming late, but *please* don't go there. I've been there years ago, and found later why the approach is flawed by

Re: [Rd] suppress *specific* warnings?

2012-10-26 Thread peter dalgaard
On Oct 26, 2012, at 11:17 , Martin Maechler wrote: Duncan Murdoch murdoch.dun...@gmail.com on Thu, 25 Oct 2012 06:51:25 -0400 writes: On 12-10-25 5:28 AM, Martin Maechler wrote: Sorry guys, for coming late, but *please* don't go there. I've been there years ago, and found later why

Re: [Rd] suppress *specific* warnings?

2012-10-26 Thread Prof Brian Ripley
On 26/10/2012 12:04, peter dalgaard wrote: On Oct 26, 2012, at 11:17 , Martin Maechler wrote: Duncan Murdoch murdoch.dun...@gmail.com on Thu, 25 Oct 2012 06:51:25 -0400 writes: On 12-10-25 5:28 AM, Martin Maechler wrote: Sorry guys, for coming late, but *please* don't go there. I've

Re: [Rd] suppress *specific* warnings?

2012-10-25 Thread Martin Maechler
Sorry guys, for coming late, but *please* don't go there. I've been there years ago, and found later why the approach is flawed by design : Internationalization / Localization: - If the warning comes from a standard R function, the warning is almost surely different in a (say) German

Re: [Rd] suppress *specific* warnings?

2012-10-25 Thread Duncan Murdoch
On 12-10-25 5:28 AM, Martin Maechler wrote: Sorry guys, for coming late, but *please* don't go there. I've been there years ago, and found later why the approach is flawed by design : Internationalization / Localization: - If the warning comes from a standard R function, the warning is

Re: [Rd] suppress *specific* warnings?

2012-10-22 Thread luke-tierney
On Sun, 21 Oct 2012, Martin Morgan wrote: On 10/21/2012 12:28 PM, Ben Bolker wrote: Not desperately important, but nice to have and possibly of use to others, is the ability to suppress specific warnings rather than suppressing warnings indiscriminately. I often know of a specific warning

[Rd] suppress *specific* warnings?

2012-10-21 Thread Ben Bolker
Not desperately important, but nice to have and possibly of use to others, is the ability to suppress specific warnings rather than suppressing warnings indiscriminately. I often know of a specific warning that I want to ignore (because I know that's it's a false positive/ignorable), but the

Re: [Rd] suppress *specific* warnings?

2012-10-21 Thread Martin Morgan
On 10/21/2012 12:28 PM, Ben Bolker wrote: Not desperately important, but nice to have and possibly of use to others, is the ability to suppress specific warnings rather than suppressing warnings indiscriminately. I often know of a specific warning that I want to ignore (because I know

Re: [Rd] suppress *specific* warnings?

2012-10-21 Thread Ben Bolker
On 12-10-21 09:08 PM, Martin Morgan wrote: On 10/21/2012 12:28 PM, Ben Bolker wrote: Not desperately important, but nice to have and possibly of use to others, is the ability to suppress specific warnings rather than suppressing warnings indiscriminately. I often know of a specific