|
我在PYTHON中通过RPY2调用R的函数,在函数中加入了并行优化,其中在函数中有如下语句:library(foreach)
library(doparallel)
makeCluster(4)
执行到makeCluster这句出错了,能知道为什么吗?
错误如下:
rpy2.rinterface.RRuntimeError: Error in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE, :
internet routines cannot be loaded
|
|