(gL)</code></pre>
<pre><code>## IntegerList of length 2
## [[&quot;gr1&quot;]] 1 2 3 4
## [[&quot;gr2&quot;]] 1 2 3 4</code></pre>
<pre class="r"><code>seqnames(gL)</code></pre>
<pre><code>## RleList of length 2
## $gr1
## factor-Rle of length 4 with 1 run
##   Lengths:    4
##   Values : chr1
## Levels(2): chr1 chr2
## 
## $gr2
## factor-Rle of length 4 with 1 run
##   Lengths:    4
##   Values : chr2
## Levels(2): chr1 chr2</code></pre>
<p>I very often want to get the length of each of the elements. Surpr