title: Search for index of a list entry in R
body: <p>Given an R list, I wish to find the index of a given list entry. For example, for entry <code>"36"</code>, I want my output to be <code>"2"</code>. Also, how could I do such queries in parallel using lapply?</p>
  
  <pre><code>&gt; list
  
  $`1`
  [1] "7"  "12" "26" "29"
  
  $`2`
  [1] "11" "36"
  
  $`3`
  [1] "20" "49"
  
  $`4`
  [1] "39" "41"
  </code></pre>