[R-sig-Geo] Extract vs Zonal: Efficient method to extract and averaging values from large raster datasets using polygons

2016-10-31 Thread Francisco Zambrano
Hi all, I need to know which is the quickest way to extract values from a large raster datasets (> 300 layers) using polygons (SpatialPolygonsDataFrame). Also, I need to know if worth it to use some parallelization, or just be enough to start the cluster with beginCluster(n) at the beginning,

Re: [R-sig-Geo] Error with gstat::predict [SEC=UNCLASSIFIED]

2016-10-31 Thread Edzer Pebesma
On 31/10/16 09:12, Roger Bivand wrote: > On Mon, 31 Oct 2016, Edzer Pebesma wrote: > >> >> >> On 31/10/16 05:09, Li Jin wrote: >>> Hi All, >>> >>> I need to use the predict{gstat} function in one of my functions for >>> a R package. I use RStudio to make the package. When I specified >>>

Re: [R-sig-Geo] Error with gstat::predict [SEC=UNCLASSIFIED]

2016-10-31 Thread Roger Bivand
On Mon, 31 Oct 2016, Edzer Pebesma wrote: On 31/10/16 05:09, Li Jin wrote: Hi All, I need to use the predict{gstat} function in one of my functions for a R package. I use RStudio to make the package. When I specified gstat::predict in the function, I received the following error: Error:

Re: [R-sig-Geo] Error with gstat::predict [SEC=UNCLASSIFIED]

2016-10-31 Thread Edzer Pebesma
On 31/10/16 05:09, Li Jin wrote: > Hi All, > > I need to use the predict{gstat} function in one of my functions for a R > package. I use RStudio to make the package. When I specified gstat::predict > in the function, I received the following error: > > Error: 'predict' is not an exported