Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Added docs (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
brnleehng authored Aug 20, 2018
1 parent b97f447 commit b9ffe3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 0 additions & 4 deletions R/file-operations.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@ getClusterFile <-
verbose = TRUE,
overwrite = FALSE,
downloadPath = NULL) {
prefixfilePath <- "startup/%s"

if (startsWith(filePath, "/")) {
filePath <- substring(filePath, 2)
}

filePath <- sprintf(prefixfilePath, filePath)

config <- getConfiguration()
batchClient <- config$batchClient

Expand Down
10 changes: 10 additions & 0 deletions docs/40-clusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,13 @@ resizeCluster(cluster,
lowPriorityMin = 0,
lowPriorityMax = 0)
```

### Getting Files from a Cluster Node
You can download files from a specific node.
```R
getClusterFile(
cluster,
"tvm-3601533753_1-20180813t211014z",
"startup/stdout.txt")
```

0 comments on commit b9ffe3e

Please sign in to comment.