Re: [R] loading the xlsx library

2019-01-14 Thread William Michels via R-help
Hello Bernard,

You might consider using the "readxl" package, which (from the package
description), "Works on Windows, Mac and Linux without external
dependencies."

 https://CRAN.R-project.org/package=readxl

HTH, Bill.

William Michels, Ph.D.

__
R-help@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.


Re: [R] loading the xlsx library

2019-01-11 Thread Rui Barradas

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 
 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@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.




__
R-help@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.


Re: [R] loading the xlsx library

2019-01-11 Thread Jeff Newmiller
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 
 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@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.

__
R-help@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.


[R] loading the xlsx library

2019-01-11 Thread Bernard McGarvey
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@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.