Answered by:
R doAzureParallel and chunkSize

-
Intend to use Azure Batch to run R in parallel with the do AzureParallel package. I intend leave the default chunkSize = 1.
Does it start a new R session for each iteration of the foreach() loop?
I do want it to start a new R session for each iteration of the foreach() loop. If the answer to the above question is "no", how can I make it restart the R session for each iteration?
Question
Answers
-
Hi John,
Yes if you set chunkSize to 1, every foreach iteration will instantiate a new R session. Is there a reason why you want to start a new R process for each iteration?
Thanks,
Brian
Brian Hoang
- Marked as answer by John O'Connor III Wednesday, February 13, 2019 10:58 PM
All replies
-
-
-
Could you open an issue directly on that repo and CC me?
https://github.com/Azure/doAzureParallel/issues
My github is MicahMcKittrick-MSFT
I can add some people who should be able to answer the question.
-
Hi John,
Yes if you set chunkSize to 1, every foreach iteration will instantiate a new R session. Is there a reason why you want to start a new R process for each iteration?
Thanks,
Brian
Brian Hoang
- Marked as answer by John O'Connor III Wednesday, February 13, 2019 10:58 PM
-