Learn R Programming

doAzureParallel (version 0.8.0)

getClusterFile: Get node files from compute nodes. By default, this operation will print the files on screen.

Description

Get node files from compute nodes. By default, this operation will print the files on screen.

Usage

getClusterFile(cluster, nodeId, filePath, verbose = TRUE, overwrite = FALSE,
  downloadPath = NULL)

Arguments

cluster

The cluster object

nodeId

Id of the node

filePath

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

verbose

Flag for printing 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 {
stdoutText <- getClusterFile(cluster, "tvm-1170471534_1-20170829t072146z",
filePath = "stdout.txt", verbose = FALSE)
getClusterFile(cluster, "tvm-1170471534_2-20170829t072146z",
filePath = "wd/output.csv", downloadPath = "output.csv", overwrite = TRUE)
# }

Run the code above in your browser using DataLab