powered by
Retrieve saved variable
retrieve_var(name, output_dir = bsub_opt$output_dir, wait = 30)
The retrieved object.
Job name.
The output dir set in bsub_chunk.
bsub_chunk
Seconds to wait.
It retrieve the saved variable in bsub_chunk when save_rds = TRUE is set.
save_rds = TRUE
if (FALSE) { bsub_chunk(name = "example", save_var = TRUE, { Sys.sleep(10) 1+1 }) retrieve_var("example") }
Run the code above in your browser using DataLab