How can one figure out the current plan? #600
-
For debugging the setup ( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Just call > plan()
sequential:
- args: function (..., envir = parent.frame())
- tweaked: FALSE
- call: NULL It's documented in https://future.futureverse.org/reference/plan.html#value, but now I see the docs could be more clear about this. If you have a nested setup, you can get the list of future plans, using the non-documented(?) > plan(list(sequential, multisession))
> plan()
sequential:
- args: function (..., envir = parent.frame())
- tweaked: FALSE
- call: plan(list(sequential, multisession))
> plan("list")
List of future strategies:
1. sequential:
- args: function (..., envir = parent.frame())
- tweaked: FALSE
- call: plan(list(sequential, multisession))
2. multisession:
- args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame())
- tweaked: FALSE
- call: plan(list(sequential, multisession)) I forgot the reason, but I think I created |
Beta Was this translation helpful? Give feedback.
Just call
plan()
without arguments, e.g.It's documented in https://future.futureverse.org/reference/plan.html#value, but now I see the docs could be more clear about this.
If you have a nested setup, you can get the list of future plans, using the non-documented(?)
plan("list")
: