tests/nbrOfWorkers.R

source("incl/start.R")

message("*** nbrOfWorkers() ...")

ncores <- availableCores()
n <- nbrOfWorkers(mirai_multisession)
message("Number of workers: ", n)
stopifnot(n == ncores)

message("*** nbrOfWorkers() ... DONE")

source("incl/end.R")

Try the future.mirai package in your browser

Any scripts or data that you put into this service are public.

future.mirai documentation built on July 3, 2024, 5:06 p.m.