createJobScriptsData: Helper of superApply

Description Usage Arguments

View source: R/superApply.R

Description

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

Usage

1
2
3
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


pablo-gar/rSubmitter documentation built on Jan. 26, 2020, 2:08 a.m.