Hi, Is it possible to turn off parallelism in a parfor loop using a function parameter? I tried setting 'par' to 1.
If I print i in a for loop, the results come back in order:
for (i in 1:5) { print(i) }
gives
1
2
3
4
5
If I print i in a parfor loop (with par=1), the results don't come back in
order:
parfor (i in 1:5, par=1) { print(i) }
gives (something similar to)
4
2
5
1
3
Is par=1 (I tried par=0 too) turning off parallelism but the print output
isn't reflecting that?
Deron
