Skip to contents

Registers 'miraiCluster' with the parallel package as cluster type 'MIRAI' and (optionally) makes it the default cluster type.

Usage

register_cluster(default = TRUE)

Arguments

default

[default TRUE] logical value whether to also register 'miraiCluster' as the default cluster type.

Value

Invisible NULL

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>