Submit a flow to the cluster or perform a dry-run to check and debug issues.
submit_flow(x, verbose = opts_flow$get("verbose"), ...)# S3 method for list
submit_flow(x, verbose = opts_flow$get("verbose"), ...)
# S3 method for flow
submit_flow(
x,
verbose = opts_flow$get("verbose"),
execute = FALSE,
uuid,
plot = TRUE,
dump = TRUE,
.start_jid = 1,
...
)
a object
of class flow
.
logical.
Advanced use. Any additional parameters are passed on to submit_job function.
logical
whether or not to submit the jobs
character
Advanced use. This is the final path used for flow execution.
Especially useful in case of re-running a flow.
logical
whether to make a pdf flow plot (saves it in the flow working directory).
dump all the flow details to the flow path
Job to start this submission from. Advanced use, should be 1 by default.
NOTE:
Even if you want to kill the flow, its best to let submit_flow do its job, when done simply use kill(flow_wd)
.
If submit_flow is interrupted, files like flow_details.rds etc are not created, thus flowr looses the association
of jobs with flow instance and cannot monitor, kill or re-run the flow.
# NOT RUN {
submit_flow(fobj = fobj, ... = ...)
# }
Run the code above in your browser using DataLab