Skip to content

Commit a3ab28b

Browse files
author
luke
committed
Add 'mirai' as a cluster 'type' for makeCluster(). From Charlie Gao in
PR18587 git-svn-id: https://svn.r-project.org/R/trunk@87757 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 9ff5067 commit a3ab28b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/library/parallel/DESCRIPTION.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ Description: Support for parallel computation, including by forking
1111
License: Part of R @VERSION@
1212
Imports: tools, compiler
1313
Suggests: methods
14-
Enhances: snow, Rmpi
14+
Enhances: snow, Rmpi, mirai
1515
NeedsCompilation: yes

src/library/parallel/R/snow.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ makeCluster <-
161161
FORK = makeForkCluster(nnodes = spec, ...),
162162
SOCK = snow::makeSOCKcluster(names = spec, ...),
163163
MPI = snow::makeMPIcluster(count = spec, ...),
164+
MIRAI = mirai::make_cluster(n = spec, ...),
164165
## NWS = snow::makeNWScluster(names = spec, ...),
165166
if (exists(type, clusterStarters))
166167
get(type, clusterStarters)(spec, ...)

0 commit comments

Comments
 (0)