Registers 'miraiCluster' with the parallel package as cluster type 'MIRAI' and (optionally) makes it the default cluster type.
Arguments
- default
[default TRUE] logical value whether to also register 'miraiCluster' as the default cluster type.
Note
The underlying implementation in the parallel package this function relies on iis currently only available in R-devel (4.5).
Examples
tryCatch(
mirai::register_cluster()
, error = identity)
#> <simpleError in mirai::register_cluster(): this function requires a more recent version of R>