R/batchjobs.R

Defines functions getBatchJobsReg getBatchJobsRegFileDir getBatchJobsNewRegFileDir

getBatchJobsNewRegFileDir = function() {
  fd = tempfile(pattern = "parallelMap_BatchJobs_reg_",
    tmpdir = getPMOptStorageDir())
  options(parallelMap.bj.reg.filedir = fd)
  return(fd)
}

getBatchJobsRegFileDir = function() {
  getOption("parallelMap.bj.reg.filedir")
}

getBatchJobsReg = function() {
  BatchJobs::loadRegistry(getBatchJobsRegFileDir())
}

Try the parallelMap package in your browser

Any scripts or data that you put into this service are public.

parallelMap documentation built on June 28, 2021, 9:07 a.m.