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