retrieve_var {bsub} | R Documentation |
Retrieve saved variable
Description
Retrieve saved variable
Usage
retrieve_var(name, output_dir = bsub_opt$output_dir, wait = 30)
Arguments
name |
Job name. |
output_dir |
The output dir set in |
wait |
Seconds to wait. |
Details
It retrieve the saved variable in bsub_chunk
when save_rds = TRUE
is set.
Value
The retrieved object.
Examples
## Not run:
bsub_chunk(name = "example", save_var = TRUE,
{
Sys.sleep(10)
1+1
})
retrieve_var("example")
## End(Not run)
[Package bsub version 1.1.0 Index]