retrieve_var | R Documentation |
Retrieve saved variable
retrieve_var(job_id, job_name = NULL, wait = 30)
job_id |
A single job ID. |
job_name |
A single job name. Since jobs may have the same names, the most recent job is selected. |
wait |
Seconds to wait until the job is finished. |
It retrieves the saved variable in bsub_chunk()
when save_rds = TRUE
is set.
The retrieved object.
## Not run:
job_id = bsub_chunk(name = "example", save_var = TRUE,
{
Sys.sleep(10)
1+1
})
retrieve_var(job_id)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.