R/batchtools.R

Defines functions getBatchtoolsReg getBatchtoolsRegFileDir getBatchtoolsNewRegFileDir

getBatchtoolsNewRegFileDir = function() {
  fd = tempfile(pattern = "parallelMap_batchtools_reg_",
    tmpdir = getPMOptStorageDir())
  options(parallelMap.bt.reg.filedir = fd)
  return(fd)
}

getBatchtoolsRegFileDir = function() {
  getOption("parallelMap.bt.reg.filedir")
}

getBatchtoolsReg = function() {
  batchtools::loadRegistry(file.dir = getBatchtoolsRegFileDir(), writeable = TRUE)
}

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.