Re: [R] mclapply enters into an infinite loop....

2023-05-20 Thread akshay kulkarni
i Cc: r-help@r-project.org Subject: Re: [R] mclapply enters into an infinite loop � Sat, 20 May 2023 10:59:18 + akshay kulkarni �: > By "holding a lock", you mean a bug in the process right Well... one person's bug ("your threaded program breaks if I fork() the pr

Re: [R] mclapply enters into an infinite loop....

2023-05-20 Thread Ivan Krylov
В Sat, 20 May 2023 10:59:18 + akshay kulkarni пишет: > By "holding a lock", you mean a bug in the process right Well... one person's bug ("your threaded program breaks if I fork() the process") is another person's documented behaviour ("of course it does, it says 'please do not fork()' right

Re: [R] mclapply enters into an infinite loop....

2023-05-20 Thread akshay kulkarni
ay, May 18, 2023 1:08 PM To: akshay kulkarni Cc: r-help@r-project.org Subject: Re: [R] mclapply enters into an infinite loop On Wed, 17 May 2023 13:55:59 + akshay kulkarni wrote: > So that means mclapply should run properly, i.e output a try class > object and exit. But it didn'

Re: [R] mclapply enters into an infinite loop....

2023-05-18 Thread Ivan Krylov
On Wed, 17 May 2023 13:55:59 + akshay kulkarni wrote: > So that means mclapply should run properly, i.e output a try class > object and exit. But it didn't. Can you shed some light on why this > happened? What's your sessionInfo()? Are you using a GUI frontend? mclapply() relies on the fork

Re: [R] mclapply enters into an infinite loop....

2023-05-17 Thread akshay kulkarni
didn't. Can you shed some light on why this happened? THanking you, Yours sincerely, AKSHAY M KULKARNI From: R-help on behalf of Jeff Newmiller Sent: Wednesday, May 17, 2023 5:24 AM To: r-help@r-project.org Subject: Re: [R] mclapply enters into an infinite

Re: [R] mclapply enters into an infinite loop....

2023-05-16 Thread Jeff Newmiller
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 wrote: >Dear members, > I am using arfima in an mclapply construction (from > the

[R] mclapply enters into an infinite loop....

2023-05-16 Thread akshay kulkarni
Dear members, I am using arfima in an mclapply construction (from the parallel package): Browse[2]> LYG <- mclapply(LYGH, FUN = arfima, mc.cores = detectCores()) ^C Browse[2]> LYG <- mclapply(LYGH[1:10], FUN = arfima, mc.cores = detectCores()) ^C Browse[2]> LYG <- mclappl