I'm trying to install Rmpi https://cran.r-project.org/web/packages/Rmpi/index.html in Windows 10.
I have installed MPICH2, because I want to be able to run parallel processing.
After following all steps, I'm trying to load Rmpi library in RStudio (R 4.0.4) but I get this error.
> library(Rmpi) Error: package or namespace load failed for ‘Rmpi’: .onLoad failed in loadNamespace() for 'Rmpi', details: call: inDL(x, as.logical(local), as.logical(now), ...) error: unable to load shared object 'C:/Program Files/R/R-4.0.4/library/Rmpi/libs/x64/Rmpi.dll': LoadLibrary failure: The specified module could not be found..
My PATH variable has ""C:\Program Files\R\R-4.0.4\bin\x64" in it.
I assume it's something in environment variables.
I don't really know what else to provide to you, so, please inform me in regard to this.
Thanks in advance