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

Commit

Permalink
allow local RProfile libraries to be loaded by default (#209)
Browse files Browse the repository at this point in the history
* allow local session info to be loaded

* update line lengths
  • Loading branch information
paselem authored and brnleehng committed Feb 20, 2018
1 parent 7aa04f7 commit b5b01cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/doAzureParallel.R
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,8 @@ setHttpTraffic <- function(value = FALSE) {
jobId = id,
taskId = taskId,
rCommand = sprintf(
"Rscript --vanilla --verbose $AZ_BATCH_JOB_PREP_WORKING_DIR/worker.R %i %i %i > $AZ_BATCH_TASK_ID.txt",
paste("Rscript --no-save --no-environ --no-restore --no-site-file",
"--verbose $AZ_BATCH_JOB_PREP_WORKING_DIR/worker.R %i %i %i > $AZ_BATCH_TASK_ID.txt"),
startIndex,
endIndex,
isDataSet),
Expand All @@ -568,7 +569,8 @@ setHttpTraffic <- function(value = FALSE) {
jobId = id,
taskId = "merge",
rCommand = sprintf(
"Rscript --vanilla --verbose $AZ_BATCH_JOB_PREP_WORKING_DIR/merger.R %s %s %s > $AZ_BATCH_TASK_ID.txt",
paste("Rscript --no-save --no-environ --no-restore --no-site-file",
"--verbose $AZ_BATCH_JOB_PREP_WORKING_DIR/merger.R %s %s %s > $AZ_BATCH_TASK_ID.txt"),
length(tasks),
chunkSize,
as.character(obj$errorHandling)
Expand Down

0 comments on commit b5b01cd

Please sign in to comment.