[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


Jeff:
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

______________
Bruce Ratner PhD
The Significant Statistician™
(516) 791-3544
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.
>> Bruce
>> 
>> R> install.packages("glmulti") Installing package into 
>> ‘C:/Users/BruceRatner/Documents/R/win-library/3.3’ (as ‘lib’ is 
>> unspecified) trying URL 
>> 'https://cran.rstudio.com/bin/windows/contrib/3.3/glmulti_1.0.7.zip' 
>> 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>
>> 
>> 
>> --
>> 
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list