title: find indices of overlapping ranges in R
body: <p>my frame looks like this</p>
  
  <pre><code>4 8
  6 9
  1 2
  5 7
  10 14
  3 9
  </code></pre>
  
  <p>in which the first col ist the start and the other col the end of a measure. I now want to return the indices of those rows which partly overlap a specific row. Example would row 1. The indices would be 2,4,6 - as these partly overlap. I need to make this comparison very frequently so an efficient solution would be great</p>
  
  <p>note that i am looking not only for partly overlap but also complete overlap (3 9) ..</p>