pipe_reset | R Documentation |
Resets the pipeline to the state before it was run. This means that all output is removed and the state of all steps is reset to 'New'.
pipe_reset(pip)
pip |
|
returns the Pipeline
object invisibly
p <- pipe_new("pipe", data = 1:2)
pipe_add(p, "f1", \(x = 1) x)
pipe_add(p, "f2", \(y = 1) y)
pipe_run(p, )
p
pipe_reset(p)
p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.