wait: hold up R while GDP is processing

Description Usage Arguments Value Examples

Description

keeps R in a loop while GDP works on the request. Checks running. Will drop out of loop whenever !running(geojob)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
wait(.Object, sleep.time)

## S4 method for signature 'geojob,numeric'
wait(.Object, sleep.time)

## S4 method for signature 'geojob,missing'
wait(.Object, sleep.time)

## S4 method for signature 'character,numeric'
wait(.Object, sleep.time)

## S4 method for signature 'character,missing'
wait(.Object, sleep.time)

Arguments

.Object

a geojob

sleep.time

a number of seconds to wait in between checking the process

Value

invisible return of .Object, unaltered

Examples

1
2
3
4
5
6
7
## Not run: 
job <- geoknife(stencil = c(-89,42), fabric = 'prism')
2+2
wait(job)
check(job) # should be complete

## End(Not run)

eric-erki/geoknife documentation built on Dec. 31, 2019, 12:54 a.m.