Learn R Programming

doAzureParallel (version 0.8.0)

getJobFile: Get job-related files from cluster node. By default, this operation will print the files on screen.

Description

Get job-related files from cluster node. By default, this operation will print the files on screen.

Usage

getJobFile(jobId, taskId, filePath, downloadPath = NULL, verbose = TRUE,
  overwrite = FALSE)

Arguments

jobId

Id of the foreach job

taskId

Id of the task

filePath

the path to the task file that you want to get the contents of

verbose

Flag for printing the log files onto console

...

Further named parameters

  • "downloadPath": Path to save file to

  • "overwrite": Will only overwrite existing localPath

Examples

Run this code
# NOT RUN {
stdoutFile <- getJobFile("job20170822055031", "job20170822055031-task1", "stderr.txt")
getJobFile("job20170822055031", "job20170822055031-task1", "stdout.txt", downloadPath = "hello.txt")
# }

Run the code above in your browser using DataLab