I have 2 data frames. 

```
 #df1 dimensions [100,1]  
    item 
   "Like to cook"
   "Enjoy football"
    .............
   "Love to run"

 #df2 dimensions [3,1]
    item
   "Like to cook"
   "Enjoy football"
   "Love to run"

```

In df1 and df2, a single variable is sting. I am trying to use grep to take every element of df2, find respective matche in df1, and output a vector of row positions of where these matches are in df1. So the output would look something like [1] 1 2 100

```
   I tired the following, but for some reason I get the following  
   result: 

```

`Integer(0)`. 

I would be grateful for your help please.

```
 result = NULL
 for (i in 1:nrow(df2)) {
 result = grep(df2[,1], df1)
 }
 print(result)

```