[R] mclapply enters into an infinite loop....
jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Wed May 17 01:54:58 CEST 2023
It does not look to me like you are providing the necessary arguments to arfima.
Try making this work with lapply first... then try mclapply.
On May 16, 2023 3:10:45 PM PDT, akshay kulkarni <akshay_e4 using hotmail.com> wrote:
> I am using arfima in an mclapply construction (from the parallel package):
>Browse> LYG <- mclapply(LYGH, FUN = arfima, mc.cores = detectCores())
>Browse> LYG <- mclapply(LYGH[1:10], FUN = arfima, mc.cores = detectCores())
>Browse> LYG <- mclapply(LYGH[1:2], FUN = arfima, mc.cores = detectCores())
>You can see that I am aborting the execution of mclapply. It doesn't finish even if I reduce the elements to be iterated over to 2. Why is it entering an infinite loop?
>Please exhort me if this is to be posted in HPC list.
>ALSHAY M KULKARNI
> [[alternative HTML version deleted]]
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.
Sent from my phone. Please excuse my brevity.
More information about the R-help