| jobSetState | R Documentation | 
Changes the state of a background job.
jobSetState(
  job,
  state = c("idle", "running", "succeeded", "cancelled", "failed")
)
| job | The ID of the job on which to change state. | 
| state | The new job state. | 
The following states are supported:
The job is waiting to run.
The job is actively running.
The job has finished successfully.
The job was cancelled.
The job finished but did not succeed.
Other jobs: 
jobAdd(),
jobAddOutput(),
jobAddProgress(),
jobGetState(),
jobList(),
jobRemove(),
jobRunScript(),
jobSetProgress(),
jobSetStatus()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.