[R] exact string match?

2009-10-30 Thread bamsel
Dear R users: I need to compare character strings stored in 2 separate data frames. I need an exact match, so finding a in animal is no good. I've tried regexpr, match, and grepl, but to no avail. Anybody know how to accomplish this? Ben -- View this message in context:

Re: [R] exact string match?

2009-10-30 Thread Linlin Yan
How about using operator == On Sat, Oct 31, 2009 at 5:00 AM, bamsel benam...@gmail.com wrote: Dear R users: I need to compare character strings stored in 2 separate data frames. I need an exact match, so finding a in animal is no good. I've tried regexpr, match, and grepl, but to no avail.