Inheriting R_HOME
#294
-
I run clustermq in an environment with multiple versions of R, and I'd like slurm to spin up workers that naturally inherit the R_HOME of the parent environment. What's the proper way to do this with clustermq? The Q function doesn't seem to support additional arguments, e.g. the following fails:
And the templates rely on the default R of a server. |
Beta Was this translation helpful? Give feedback.
Answered by
nviets
Dec 22, 2022
Replies: 1 comment 2 replies
-
Resolved this by editing the slurm.tmpl file to add ${R_HOME}/bin/R. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
mschubert
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Resolved this by editing the slurm.tmpl file to add ${R_HOME}/bin/R.