'How can I create equally spaced points along a line in R?

I have a polyline shapefile. I would like to create equally spaced points along a polyline. Is it possible in R?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source