[R] Cannot load library(glmulti), because: Error: package ‘rJava’ could not be loaded
Bruce Ratner PhD
br at dmstat1.com
Wed May 3 23:19:55 CEST 2017
Just want to follow up to thank you. All's good. Up and running.
FYI: I thought I had Java because SAS needs Java.
Unbeknownst to me, SAS changed over to their own "Java."
So when I got that error message of "no rJava" I was confused.
Thanks so much for your earnest reply and trouble shooting.
It does not go unnoticed.
Bruce Ratner PhD
The Significant Statistician™
Statistical Predictive Analytics -- www.DMSTAT1.com
Machine-Learning Data Mining -- www.GenIQ.net
> On May 3, 2017, at 10:03 AM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:
> 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
>> 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