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
1 2 3 | createJobScriptsData(x, FUN, ..., idPrefix, iStart, iEnd, workingDir,
extraScriptLines = "", extraBashLines = "", packages = NULL,
sources = NULL)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.