R/futureSessionInfo.R
futureSessionInfo.Rd
Get future-specific session information and validate current backend
futureSessionInfo(test = TRUE, anonymize = TRUE)
If TRUE, one or more futures are created to query workers and validate their information.
If TRUE, user names and host names are anonymized.
Nothing.
plan(multisession, workers = 2)
futureSessionInfo()
#> *** Package versions
#> future 1.33.0.9004, parallelly 1.36.0.9001, parallel 4.3.1, globals 0.16.2, listenv 0.9.0
#>
#> *** Allocations
#> availableCores():
#> system nproc
#> 8 8
#> availableWorkers():
#> $nproc
#> [1] "localhost" "localhost" "localhost" "localhost" "localhost" "localhost"
#> [7] "localhost" "localhost"
#>
#> $system
#> [1] "localhost" "localhost" "localhost" "localhost" "localhost" "localhost"
#> [7] "localhost" "localhost"
#>
#> *** Settings
#> - future.plan=<not set>
#> - future.fork.multithreading.enable=<not set>
#> - future.globals.maxSize=5e+06
#> - future.globals.onReference=<not set>
#> - future.resolve.recursive=<not set>
#> - future.rng.onMisuse=‘error’
#> - future.wait.timeout=<not set>
#> - future.wait.interval=<not set>
#> - future.wait.alpha=<not set>
#> - future.startup.script=<not set>
#>
#> *** Backends
#> Number of workers: 2
#> List of future strategies:
#> 1. multisession:
#> - args: function (..., workers = 2, envir = parent.frame())
#> - tweaked: TRUE
#> - call: plan(multisession, workers = 2)
#>
#> *** Basic tests
#> Main R session details:
#> pid r sysname release
#> 1 463977 4.3.1 Linux 6.2.0-32-generic
#> version nodename
#> 1 #32~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 18 10:40:13 UTC 2 host001
#> machine login user effective_user
#> 1 x86_64 user001 user001 user001
#> Worker R session details:
#> worker pid r sysname release
#> 1 1 464844 4.3.1 Linux 6.2.0-32-generic
#> 2 2 464845 4.3.1 Linux 6.2.0-32-generic
#> version nodename
#> 1 #32~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 18 10:40:13 UTC 2 host001
#> 2 #32~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 18 10:40:13 UTC 2 host001
#> machine login user effective_user
#> 1 x86_64 user001 user001 user001
#> 2 x86_64 user001 user001 user001
#> Number of unique worker PIDs: 2 (as expected)
plan(sequential)