getJobFile: Get job-related files from cluster node. By default, this...

Description Usage Arguments Examples

View source: R/file-operations.R

Description

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

Usage

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

1
2
3
4
5
## Not run: 
stdoutFile <- getJobFile("job20170822055031", "job20170822055031-task1", "stderr.txt")
getJobFile("job20170822055031", "job20170822055031-task1", "stdout.txt", downloadPath = "hello.txt")

## End(Not run)

Azure/doAzureParallel documentation built on May 22, 2021, 4:39 a.m.