wait | R Documentation |
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 signature 'geojob'
wait(
.Object,
sleep.time = gconfig("sleep.time"),
show.progress = gconfig("show.progress")
)
## S4 method for signature 'character'
wait(
.Object,
sleep.time = gconfig("sleep.time"),
show.progress = gconfig("show.progress")
)
.Object |
a geojob |
... |
other arguments passed to methods |
sleep.time |
numeric (optional) a number of seconds to wait in between checking the process |
show.progress |
logical (optional) show progress bar or not |
invisible return of .Object, unaltered
## Not run:
job <- geoknife(stencil = c(-89,42), fabric = 'prism')
2+2
wait(job, show.progress = TRUE)
check(job) # should be complete
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.