When I load the library xlsx with the command library("xlsx") I get the error message:> library("xlsx")Error: package or namespace load failed for ?xlsx?: .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry>Does anyone have any idea what the issue is? Thanks Lion Bernard McGarvey Director, Fort Myers Beach Lions Foundation, Inc. Retired (Lilly Engineering Fellow). [[alternative HTML version deleted]]
Failure to read the installation notes for the package. You have to get Java working on your computer. https://cran.r-project.org/web/packages/xlsx/index.html On January 11, 2019 10:40:44 AM PST, Bernard McGarvey <mcgarvey.bernard at comcast.net> wrote:>When I load the library xlsx with the command > > >library("xlsx") > > >I get the error message: > > >> library("xlsx") >Error: package or namespace load failed for ?xlsx?: >.onLoad failed in loadNamespace() for 'rJava', details: >call: fun(libname, pkgname) >error: JAVA_HOME cannot be determined from the Registry >> > > >Does anyone have any idea what the issue is? > > >Thanks > > >Lion Bernard McGarvey > >Director, Fort Myers Beach Lions Foundation, Inc. > >Retired (Lilly Engineering Fellow). > > > > [[alternative HTML version deleted]] > >______________________________________________ >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.-- Sent from my phone. Please excuse my brevity.
Hello, Also, sometimes it's about R/Java versions. If you have Java 32 bits you need R 32 bits. And the same for 64b. Hope this helps, Rui Barradas ?s 20:37 de 11/01/2019, Jeff Newmiller escreveu:> Failure to read the installation notes for the package. You have to get Java working on your computer. > > https://cran.r-project.org/web/packages/xlsx/index.html > > On January 11, 2019 10:40:44 AM PST, Bernard McGarvey <mcgarvey.bernard at comcast.net> wrote: >> When I load the library xlsx with the command >> >> >> library("xlsx") >> >> >> I get the error message: >> >> >>> library("xlsx") >> Error: package or namespace load failed for ?xlsx?: >> .onLoad failed in loadNamespace() for 'rJava', details: >> call: fun(libname, pkgname) >> error: JAVA_HOME cannot be determined from the Registry >>> >> >> >> Does anyone have any idea what the issue is? >> >> >> Thanks >> >> >> Lion Bernard McGarvey >> >> Director, Fort Myers Beach Lions Foundation, Inc. >> >> Retired (Lilly Engineering Fellow). >> >> >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> 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. >