powered by
Plot Method for Delayed Objects
# S3 method for Delayed plot(x, color = TRUE, height = "500px", width = "100%", ...)
An object of class Delayed for which a task dependency graph will be generated.
Delayed
If TRUE, color-code nodes according to status, and display legend
TRUE
passed to visNetwork
Additional arugments (passed to visNetwork).
adder <- function(x, y) { x + y } delayed_adder <- delayed_fun(adder) z <- delayed_adder(3, 4) z2 <- delayed_adder(z, 4) z2$sequential <- TRUE z3 <- delayed_adder(z2, z) plot(z3)
Run the code above in your browser using DataLab