keeps R in a loop while GDP works on the request. Checks running
.
Will drop out of loop whenever !running(geojob)
wait(.Object, ...)# S4 method for geojob
wait(
.Object,
sleep.time = gconfig("sleep.time"),
show.progress = gconfig("show.progress")
)
# S4 method for character
wait(
.Object,
sleep.time = gconfig("sleep.time"),
show.progress = gconfig("show.progress")
)
invisible return of .Object, unaltered
a geojob
other arguments passed to methods
numeric (optional) a number of seconds to wait in between checking the process
logical (optional) show progress bar or not
if (FALSE) {
job <- geoknife(stencil = c(-89,42), fabric = 'prism')
2+2
wait(job, show.progress = TRUE)
check(job) # should be complete
}
Run the code above in your browser using DataLab