I am very new to GIS in R.
I am trying to split every line in a polyline shapefile into segments of three. My original file has 542 lines, so after the transformation I should have the same shapefile but with 1626 lines. I tried the ArcGis split command but my license only allows me to split one line at the time.