Indexing by positive numeric indices using [ and
[[ operators now works for extraction, though not
assignment.
A helper function, index_to_run() can be used to map
the index of an element represented in an rle the run that
contains it.
statnet.common
package.