Re: [R-sig-Geo] split/divide SpatialLines (sp) into n segments

2013-05-22 Thread Kevin Barnett
I've been working on a problem related to the contents of this thread. Suppose I have a SpatialLines object representing the boundary of a study area, and I would like to split/segment the line at sample points equally spaced along the line. I can connect the sample points with straight lines, bu

Re: [R-sig-Geo] spTransform error

2013-05-22 Thread Roger Bivand
On Wed, 22 May 2013, Agustin Lobo wrote: Just got the very same problem on osx: CRS("+init=epsg:3857") Error in CRS("+init=epsg:3857") : no system list, errno: 2 I have given the diagnosis in detail - the OSX CRAN rgdal binary has been built without the required configure argument --with-data

Re: [R-sig-Geo] spTransform error

2013-05-22 Thread Agustin Lobo
Just got the very same problem on osx: CRS("+init=epsg:3857") Error in CRS("+init=epsg:3857") : no system list, errno: 2 I've reinstalled rgdal (using RStudio) but the error persists. I also have the autodetected in the path: > require(rgdal) Loading required package: rgdal Loading required packag

Re: [R-sig-Geo] basic question

2013-05-22 Thread Ashton Shortridge
Hi Kátia, this isn't really a spatial question, but here goes with an answer. Your solution lies in the help documentation for the sample function. At the command prompt, type ?sample for one way to access help. The basic command is this: sample(x, size, replace = FALSE, prob = NULL) For R b

[R-sig-Geo] basic question

2013-05-22 Thread Kátia Emidio
does anyone could help me with do a sample from dataframe, using replacement equal True? I am a very beginner at R. without replacement, my script works... h<-dados[sample(1:357,20),]# this is ok. from 357 rows, I take 20 ones, with all columms... How puts the replace=T ? thanks katia -- Kátia

[R-sig-Geo] Space-time interpolation

2013-05-22 Thread Eddie Smith
Hi r-sig-geo list, I'm trying to do space-time interpolation of temperature from satellite datasets. To start with, I am planning to start the ST interpolation using a daily one-week data. Right now, I already converted the data set into ASCII and read it using rgdal to create SpatialGridDataFram