File: RSOCKnode.sh

package info (click to toggle)
r-bioc-biocparallel 1.40.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,768 kB
  • sloc: cpp: 139; sh: 14; makefile: 8
file content (11 lines) | stat: -rwxr-xr-x 270 bytes parent folder | download | duplicates (3)
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::.bpworker_impl(snow::makeSOCKmaster())
EOF