Re: [R-sig-Geo] Error using spsample on SpatialLines in Linux OS

2018-04-26 Thread Glenn Stauffer
Do you mean the sp package? I should have mentioned that I already tried that. -Original Message- From: R-sig-Geo [mailto:r-sig-geo-boun...@r-project.org] On Behalf Of Edzer Pebesma Sent: Thursday, April 26, 2018 11:35 AM To: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] Error using

Re: [R-sig-Geo] Error using spsample on SpatialLines in Linux OS

2018-04-26 Thread Edzer Pebesma
I would try reinstalling the package. On 04/26/2018 06:31 PM, Glenn Stauffer wrote: > I ran across a problem when trying to use spsample to sample points along a > line, while in a Linux OS (Mint 18.3). The following code (which works fine > in Win 10): > > > > pts <-

[R-sig-Geo] Error using spsample on SpatialLines in Linux OS

2018-04-26 Thread Glenn Stauffer
I ran across a problem when trying to use spsample to sample points along a line, while in a Linux OS (Mint 18.3). The following code (which works fine in Win 10): pts <- matrix(c(c(6000,6015,6021,6035,6050), c(6000,5995,6000,6040,6095)),5,2,byrow=FALSE) L =