futureverse / futureverse/parallelly

makeClusterPSOCK(): Automatically pass down current .libPaths() to localhost cluster nodes?

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

Description

From https://github.com/HenrikBengtsson/future/issues/435:

> Should localhost PSOCK cluster node inherit .libPaths() from parent R session?

This could be done by introducing a new default `rscript_libs = ""` and have that to decide what the default `rscript_libs` should become. This can then be disabled by explicitly specifying `rscript_libs = NULL`.

Contributor guide

Open the contributing guide

Research direction

Start at makeClusterPSOCK() and trace how rscript_libs is interpreted for localhost PSOCK nodes. Implement the proposed default behavior so nodes inherit the parent .libPaths(), while explicitly setting rscript_libs = NULL disables it. Done means the inheritance and opt-out behavior are covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.