tests/client.single.tests.R

options("RzmqJobQueue.logfile" = "/tmp/client.log")
options("RzmqJobQueue.level" = log4r:::DEBUG)
library(RzmqJobQueue)
if (!exists("argv")) argv <- Inf
if (argv[1] != Inf) {
  for(i in 1:argv[1]) {
    do_job("tcp://localhost:12345")
  }
} else {
  while(TRUE) {
    do_job("tcp://localhost:12345")
  }
}
wush978/RzmqJobQueue documentation built on May 4, 2019, 12:02 p.m.