In RStudio with R4.0.0, parallel::makePSOCKcluster("localhost") fails/hangs

my <- parallel::makePSOCKcluster("localhost") fails/hangs in RStudio but not in terminal/command-line R.

System Information:

  • RStudio Edition: (Desktop)
  • RStudio Version: 1.3.947
  • OS Version: Mac OSX Catalina
  • R Version: 4.0.0

sessionInfo()
R version 4.0.0 (2020-04-24)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.4

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] compiler_4.0.0 tools_4.0.0


Referred here from support.rstudio.com

Appears to be related to:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.