run an R script in parallel

jurrit

New member
Maybe you can help me. I am trying to run an R script in parallel. I used the partition setting in the box, but I still only see one R engine running.

How do I run R script in parallel?

cheers

J
 

Support

Administrator
Staff member
hi J, nice to hear from you!

you must:
* Put a MultiThreadRun box before and after the R script
* Set the "number of thread" parameter to 2 (or more) inside the MultiThreadRun box located AFTER the R script. To find the optimal number of threads: run some tests and measure the graph execution time. A "number of thread" that is too high has a negative effect on the execution time.
* optional: Set the "Row Buffer Size" to 99MB inside the MultiThreadRun box located BEFORE the R script.

Here is an example:
jurrit_r_in_parallel.png
 
Top