I'm trying to run a package in R that requires parallel processing (using xcms). I come across this error, which I am aware of other people experiencing ( Errors in makeCluster(multicore): cannot open the connection, Error in parallel processing: port cannot be open, Error in socketConnection(master, port = port, blocking = TRUE, open = "a+b", : cannot open the connection in Stan (from R) (the one most similar to mine that doesn't utilize a cluster/Linux and had no answer 7 years ago)
Error in socketConnection(port = port, server = TRUE, blocking = TRUE, : cannot open the connection
The only way I can get the code to run is through disabling parallel processing through register(SerialParam())
I am using a Windows computer with 11 available cores. Any advice would be appreciated.