[Rd] "Name partially matched in data frame"

Hadley Wickham h.wickham at gmail.com
Thu May 1 00:33:04 CEST 2014

>> I realize that the new message is only a warning but it is a minor
>> nuisance.  Would it be possible to add an
>>         option(partialMatch=TRUE)       ## default is FALSE
>> or something similar to suppress that behavior?  That should keep both
>> camps happy.
> I'd be much happier with a general mechanism to suppress particular
> warnings.  Then you could choose to suppress this one.
> We might be able to do that with options("warning.expression"), but I don't
> see how...

One approach would be to take advantage of the fact that warnings
conditions are S3 objects and can have a class hierarchy.



More information about the R-devel mailing list