R/utils_api-futureSessionInfo.R
futureSessionInfo.Rd
Get future-specific session information and validate current backend
futureSessionInfo(test = TRUE, anonymize = TRUE)
Nothing.
plan(multisession, workers = 2)
futureSessionInfo()
#> *** Package versions
#> future 1.34.0.9307, parallelly 1.42.0.9005, parallel 4.4.3, globals 0.16.3.9004, listenv 0.9.1.9001
#>
#> *** Allocations
#> availableCores():
#> system /proc/self/status nproc
#> 8 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=FALSE
#>
#> *** 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 2887245 4.4.3 Linux 6.8.0-52-generic
#> version nodename
#> 1 #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 19:18:46 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 2887985 4.4.3 Linux 6.8.0-52-generic
#> 2 2 2887984 4.4.3 Linux 6.8.0-52-generic
#> version nodename
#> 1 #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 19:18:46 UTC 2 host001
#> 2 #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 19:18:46 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)