[R] Cannot load library(glmulti), because: Error: package ‘rJava’ could not be loaded

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Wed May 3 16:03:01 CEST 2017

Since the problem is with rJava, why don't you tell us why you think you have Java or rJava working on your computer? Be aware that there are both 32-bit and 64-bit versions of the Java runtime, and one or the other is often missing though both versions of R are normally installed on Win64.
Sent from my phone. Please excuse my brevity.

On May 3, 2017 6:39:08 AM PDT, BR_email <br at dmstat1.com> wrote:
>Hi R-helpers:
>Any assistance to get library(glmulti) on my PC/Windows 7, 64bit, would
>be appreciated.
>R> install.packages("glmulti") Installing package into 
>‘C:/Users/BruceRatner/Documents/R/win-library/3.3’ (as ‘lib’ is 
>unspecified) trying URL 
>Content type 'application/zip'length 194732 bytes (190 KB) downloaded 
>190 KB package ‘glmulti’ successfully unpacked and MD5 sums checked
>The downloaded binary packages are in
>	C:\Users\BruceRatner\AppData\Local\Temp\Rtmpu01BzG\downloaded_packages
>R> library(glmulti) Loading required package: rJava Error : .onLoad 
>failed in loadNamespace() for 'rJava', details: call: fun(libname, 
>pkgname) error: JAVA_HOME cannot be determined from the Registry Error:
>package ‘rJava’ could not be loaded
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list