While loading rJava
package, I receive this error:
Error : .onLoad failed in loadNamespace() for \'rJava\', details: call: inDL(x
I have noticed in different fresh installations of R, RStudio and rJava in WIndows, that what fixes the error is:
In my case, I fixed the message
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object 'C:/Users/ankitagarwal5/Documents/R/win-library/3.2/rJava/libs/x64/rJava.dll':
LoadLibrary failure: %1 is not a valid Win32 application.
Following steps 1 and 2 above.