/usr/lib/R/site-library/snow/RSOCKnode.sh is in r-cran-snow 1:0.4.2-1.
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 12 13 | #! /bin/sh
# the & for backgrounding works in bash--does it work in other sh variants?
${RPROG:-R} --vanilla <<EOF > ${OUT:-/dev/null} 2>&1 &
library(snow)
options(timeout=getClusterOption("timeout"))
slaveLoop(makeSOCKmaster())
EOF
|