Is this not potentially a problem to later link to the data frame to create an SpatialLinesDataFrame?
I report in case this is a bug or an unintentional feature.
Your code does not run for me, but I think I can answer your question. When creating a SpatialLinesDataFrame you can use match.ID = FALSE, or first change the row names.
Given (from the example in the help page):
and this ugly code:
I get:
Is this not potentially a problem to later link to the data frame to create an SpatialLinesDataFrame? I report in case this is a bug or an unintentional feature.