ERROR: LoadLibrary failure: %1 is not a valid Win32 application.

Problem

The following error message appears when installing a source package in Windows using the DOS command prompt:

R CMD INSTALL <package_name>.tar.gz

Error : .onLoad failed in loadNamespace() for 'RevoScaleR', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object 'C:/Program Files/R/R-3.1.3/library/RevoScaleR/rxLibs/x64/RxLink.dll':
  LoadLibrary failure:  %1 is not a valid Win32 application.

Solution

To resolve this error, on the DOS command prompt execute the following:

R CMD INSTALL –no-multiarch <package_name>.tar.gz

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×