0
我似乎已经在运行问题当试图中的R并行计算问题
library(parallel)
library(foreach)
library(doParallel)
library(snow)
cl <- makeCluster(detectCores())
Loading required package: Rmpi
Error : .onLoad failed in loadNamespace() for 'Rmpi', details:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object 'C:/Users/PCCasa/Documents/R/win- library/3.2/Rmpi/libs/x64/Rmpi.dll':
LoadLibrary failure: The system is unable to find the package specified.
Error in makeMPIcluster(spec, ...) :
the `Rmpi' package is needed for MPI clusters.
registerDoParallel(cl)
Error in registerDoParallel(cl) : Object 'cl' not found
运行一个并行计算windowsproduces该建议以修复或重新安装msmpi.dll错误。你能不能让我知道什么是最好的prodecure将是解决这个问题
你能把这些错误信息翻译成英文吗? –
错误是因为我必须修复或重新安装msmpi.dll。系统输出此错误 – Barnaby
以下是有关如何安装Rmpi的信息:https://bioinfomagician.wordpress.com/2013/11/18/installing-rmpi-for-rr-on-mac-and-windows/comment -page-1 / – bjoseph