/usr/lib/R/site-library/BiocParallel/RSOCKnode.sh is in r-bioc-biocparallel 1.12.0-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #! /bin/sh
# the & for backgrounding works in bash--does it work in other sh variants?
${RPROG:-R} --vanilla <<EOF > ${OUT:-/dev/null} 2>&1 &
loadNamespace("snow")
options(timeout=getClusterOption("timeout"))
BiocParallel::bploop(snow::makeSOCKmaster())
EOF
|