Re: [R] makeCluster() hangs infinitely

2018-09-17 Thread Zhihao Huang
Hi Henrik, Thanks for the suggestions! I tried your approach, and obtained the following output, which is pretty similar to the previous ones. > cl <- future::makeClusterPSOCK(1, outfile = NULL, verbose = TRUE) *Workers: [n = 1] ‘localhost’* *Base port: 11214* *Creating node 1 of 1 ...* *-

Re: [R] makeCluster() hangs infinitely

2018-09-17 Thread Henrik Bengtsson
On Mon, Sep 17, 2018 at 12:56 PM Zhihao Huang wrote: > > Hi Henrik, > > Thanks for the suggestions! I tried your approach, and obtained the following > output, which is pretty similar to the previous ones. > > > cl <- future::makeClusterPSOCK(1, outfile = NULL, verbose = TRUE) > Workers: [n = 1]

Re: [R] makeCluster() hangs infinitely

2018-09-16 Thread Henrik Bengtsson
Hi, did you see my answer on StackOverflow? Specifically, if you set argument 'outfile = NULL' to either of those two functions, you'll get a little bit more information that *might* provide some clues. /Henrik On Sun, Sep 16, 2018 at 5:38 PM Zhihao Huang wrote: > > Hi all, > > The function

[R] makeCluster() hangs infinitely

2018-09-16 Thread Zhihao Huang
Hi all, The function makeCluster() of parallel does not work on my laptop. It hangs infinitely. *1. Problem Summary:* > # Loading parallel packages > library(parallel) > cl <- makeCluster(2) # It hangs at this line of code. It hangs at the second line of the code. *2. Potential Reason* I