logical; should pattern be interpreted as a literal string (i.e., ignoring regular expressions)?
Value
Logical vector, TRUE for items that match pattern.
Details
Internally, like is essentially a wrapper around base::grepl, except that it is smarter about handling factor input (base::grep uses slow as.character conversion).