package load failed for matrixstats, stats.dll shared library cannot be loaded


There might be other base package/s that may be failing after the package shown in the error.

for me matrixStats was failing but in the background stats was failing to load. and that was failing because it was trying to find core R dlls inside the stats library.

I fixed the issue from another post: http://author-entry17.rssing.com/chan-9456546/all_p43.html

You have to copy over the dlls from the architecture folder into the package path as a work around. Please find detailed answers from the above link.

ie copy dlls in C:\Program Files\R\R-3.1.0\bin\i386 or C:\Program Files\R\R-3.1.0\bin\x64


R\R-3.3.1\library\stats\libs\x64 or R\R-3.3.1\library\stats\libs\i386

as a work around.