Triggered by #96, could we automatically detect what rscript_sh should be for remote workers? Right now it is hard-coded to rscript_sh = "sh" for remote workers based on the assumption that most clusters run on Unix-like systems.
Idea
At least when homogeneous = FALSE, we could query the remote operating system using something like:
Triggered by #96, could we automatically detect what
rscript_sh
should be for remote workers? Right now it is hard-coded torscript_sh = "sh"
for remote workers based on the assumption that most clusters run on Unix-like systems.Idea
At least when
homogeneous = FALSE
, we could query the remote operating system using something like:So, in R, something like:
The downside is that this adds to the startup time of each parallel worker (in the order of seconds)