BR_email
2017-May-03 13:39 UTC
[R] Cannot load library(glmulti), because: Error: package ‘rJava’ could not be loaded
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> --
Jeff Newmiller
2017-May-03 14:03 UTC
[R] Cannot load library(glmulti), because: Error: package ‘rJava’ could not be loaded
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.
BR_email
2017-May-03 15:38 UTC
[R] Cannot load library(glmulti), because: Error: package ‘rJava’ could not be loaded
Jeff: Sorry, the previous email was accidentally sent as I was talking to SAS. Apparently, I do not have any Java in my system. I thought SAS required it, but no longer does. So I guess I will install Java. Which Java do I need to install, please? Bruce BR_email wrote:> Jeff: > Thanks for reply. I know I have Java because my SAS needs Java. > Bruce Ratner, Ph.D. > The Significant Statistician? > (516) 791-3544 > Statistical Predictive Analtyics --www.DMSTAT1.com > Machine-Learning Data Mining and Modeling --www.GenIQ.net > > Jeff Newmiller 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. >
BR_email
2017-May-03 16:13 UTC
[R] Cannot load library(glmulti), because: Error: package ‘rJava’ could not be loaded
Jeff: Yes, your trouble shooting was in target. I needed to install Java. I installed Java 64-bit. Things look okay, so far ( haven't run glmulti). Thanks, again. Bruce ~~~ package ?glmulti? successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Users\BruceRatner\AppData\Local\Temp\RtmpOC7vMl\downloaded_packages R> library(glmulti) Loading required package: rJava ~~~~ BR_email wrote:> Jeff: > Sorry, the previous email was accidentally sent as I was talking to SAS. > Apparently, I do not have any Java in my system. I thought SAS > required it, but no longer does. > So I guess I will install Java. > Which Java do I need to install, please? > Bruce > > > > BR_email wrote: >> Jeff: >> Thanks for reply. I know I have Java because my SAS needs Java. >> Bruce Ratner, Ph.D. >> The Significant Statistician? >> (516) 791-3544 >> Statistical Predictive Analtyics --www.DMSTAT1.com >> Machine-Learning Data Mining and Modeling --www.GenIQ.net >> Jeff Newmiller 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. >> >
Bruce Ratner PhD
2017-May-03 21:19 UTC
[R] Cannot load library(glmulti), because: Error: package ‘rJava’ could not be loaded
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.