# Conservative matching in R

This discussion demonstrates the surprise that partial matching in R provides. One option to avoid this, if you do not want it to occur, is either to not to use the \$ operator or tell R both to warn when it does occur and then handle it as an error:

options(warnPartialMatchDollar=TRUE)
options(warn=2)
options(error=recover)