Skip to content
Prev 227366 / 398500 Next

StartsWith over vector of Strings?

My solution was based on using vectors (which were your original example), now you are using data frames.  The actual result is NA, then you just print content again (which my code never modified) so you are going to see the full content data frame.

Try:

content[na.omit(pmatch(searchset$signatures, content$urls)),]

then look at all the pieces (starting from inside out) to see what is happening at each step to understand what is going on.