Displaying 1 result from an estimated 1 matches for "sfcat".
Did you mean:
scat
2016 Apr 28
0
Snowfall - Error in checkForRemoteErrors(val) with sfClusterApplyLB()
...t uses the snowfall package. Here is the structure of my code.
sfInit(parallel=T, cpus = 5, slaveOutfile="ErrorMessage.txt")
sfExportAll()
sfLibrary(rgdal)
sfLibrary(raster)
sfLibrary(sp)
sfLibrary(rgeos)
sfLibrary(snowfall)
system.time( sfClusterApplyLB(1:10, function(k) {
sfCat(paste("Iteration ", k), sep="\n")
if (......) {
} else {
if (class(ob1)=="SpatialCollections") {
ob2 <- ob1 at lineobj
} else if (class(ob1)=="SpatialLines") {
ob2 <- ob1
}
ob3 <- data.frame(length_m=sapply(1:lengt...