[R] inconsistency in mclapply.....
akshay kulkarni
@k@h@y_e4 @end|ng |rom hotm@||@com
Fri Jun 9 20:01:44 CEST 2023
Dear members,
I am using pbmcapply to parellise my code. But the following code doesn't work:
> LYG <- pbmclapply(LYGH,FUN = arfima,mc.cores = 2,mc.preschedule = FALSE)
| | 0%, ETA NA^
It just hangs.
But the following works:
> LYG <- pbmclapply(LYGH,FUN = arfima,mc.cores = 2)
|==============================================================================================================================================| 100%, Elapsed 00:32
> LYG <- pbmclapply(LYGH,FUN = arfima,mc.cores = 2,mc.preschedule = FALSE)
|==============================================================================================================================================| 100%, Elapsed 00:52
Any idea on why mc.preschedule = FALSE works after the one without it?
Many thanks ...
THanking you,
Yours sincerely,
AKSHAY M KULKARNI
[[alternative HTML version deleted]]
More information about the R-help
mailing list