View source: R/WaitForJobToComplete.R
WaitForJobToComplete | R Documentation |
Wait for specified job to complete
WaitForJobToComplete(project, jobId, maxWait = 600)
project |
character. Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier. |
jobId |
integer identifier (returned for example by RequestPrimeModel) |
maxWait |
maximum time to wait (in seconds) for the job to complete |
## Not run:
projectId <- "59a5af20c80891534e3c2bde"
blueprints <- ListBlueprints(projectId)
blueprint <- blueprints[[1]]
jobId <- RequestNewModel(projectId, blueprint)
WaitForJobToComplete(projectId, jobId)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.