R/addJob.R

Defines functions saveFunction

saveFunction = function(reg, fun, more.args) {
  fun = checkUserFunction(fun)
  fun.id = digest(list(fun, more.args))
  save2(file = getFunFilePath(reg, fun.id), fun = fun, more.args = more.args)
  return(fun.id)
}

Try the BatchJobs package in your browser

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

BatchJobs documentation built on March 21, 2022, 5:05 p.m.