futureverse / futureverse/parallelly

makeClusterPSOCK(): Add `rscript_options`

Open
#70 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
R
Stars
140
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Add argument `rscript_options` to `makeClusterPSOCK()`, cf. argument `rscript_envs`. This can be used to see R options on the cluster nodes on startup. For example,

```r
cl <- makeClusterPSOCK(1, rscript_options=list(socketOptions="no-delay"))
```

and

```r
options(socketOptions="no-delay")
cl <- makeClusterPSOCK(1, rscript_options="socketOptions")
```

Background: https://github.com/HenrikBengtsson/future/issues/437

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.