Create a new job
newJob(id, cmd, outFile, depend = NULL)
character, job ids.
character, commands to run
character, the output file names after command are run successfully
character vector, specify the prerequisite files (e.g. outFile from other jobs)
# NOT RUN { j1 <- newJob('id1', 'cmd out1', 'out1') j2 <- newJob('id2', 'cmd out2', 'out2', depend = 'out1') # }
Run the code above in your browser using DataLab