Create a new job

Share:

Description

Create a new job

Usage

1
newJob(id, cmd, outFile, depend = NULL)

Arguments

id

character, job ids.

cmd

character, commands to run

outFile

character, the output file names after command are run successfully

depend

character vector, specify the prerequisite files (e.g. outFile from other jobs)

Examples

1
2
j1 <- newJob('id1', 'cmd out1', 'out1')
j2 <- newJob('id2', 'cmd out2', 'out2', depend = 'out1')

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.