[Rd] "not a valid win32 application" with rtools40-x86_65.exe on Windows 10

Jeroen Ooms jeroenoom@ @end|ng |rom gm@||@com
Thu Apr 30 10:15:08 CEST 2020


On Thu, Apr 30, 2020 at 6:38 AM Spencer Graves
<spencer.graves using prodsyse.com> wrote:
>
> Hello, All:
>
>
>        "00install.out" from "R CMD check Ecfun_0.2-4.tar.gz" includes:
>
>
> Error:  package or namespace load failed for 'Ecfun':
>   .onLoad failed in loadNamespace() for 'rJava', details
>    call: inDL(x, as.logical(local), as.logical(now), ...)
>    error:  unable to load shared object 'c:/Program
> Files/R/R-4.0.0/library/rJava/libs/i386/rJava.dll':
>    LoadLibrary failure: ^1 is not a valid win32 application
>

This is an error in loading the rJava package, so it is not related to
rtools40, and probably inappropriate for this mailing list.

As Simon suggested, you may have to install the 32-bit Java JDK. See
also this faq: https://github.com/r-windows/docs/blob/master/faq.md#how-to-install-rjava-on-windows



More information about the R-devel mailing list