Takes a vector/list x, a function FUN and extra paramaters (...) and creates a Rscript that executes lappy in x using FUN. Scripts are saved in workingDir

createJobScriptsData(x, FUN, ..., idPrefix, iStart, iEnd, workingDir,
  extraScriptLines = "", extraBashLines = "", packages = NULL,
  sources = NULL)

Arguments

x

- vector/list - data to which lapply will be executed

FUN

- function - function to be applied to x

...

- extra paramaters passed to FUN

idPrefix

character - prefix for job names

iStart

numeric vector - start indeces where partitions were done on x

iEnd

numeric vector - end indeces where partitions were done on x