Problems when trying to load a package in R due to rJavaError in loading in library “xlsx” R version 3.5.1I have installed package “xlsx” in my R, but when try to open the library “xlsx”, it warned that the package load failedError when installing XLConnect in RStudio on OSX 10.13.2Writing xlsx file in RUsing the rJava package on Win7 64 bit with RCannot install library(xlsx) in R and look for an alternativeR on Windows 10, rcmdr 'hasjava' errorrJava libraries fine as a package dependency locally, but not from Git repositoryImport specific sheets and specific rows and specific columns from Excel file from readxl package in Rdevtools::check fails because of 64-bit Java issueInstalling and loading “rJava”Install rJava in Rerror in installing RWeka package in Rdevtools::check() report error due to rJAVACan't load any packages in RStudioMissing Java namespace in RError occurs when installing rJavarJava Package installation failed (needed for xlsx package)Why can't I load the OpenStreetMap R-Package?
How can I stop this useless empty line popping up in the middle of my lists?
Building a phone charger 500 years ago
What is a word for the feeling of constantly wanting new possessions?
The behavior of the auxiliary carry flag in subtraction on Intel 8080
Create a program that prints the amount of characters it has, in words
What game(s) does Michael play in Mind Field S2E4?
Why did Grima shed a tear?
Hell0 W0rld! scored by ASCII values
Intuition behind the paradox of instantaneous heat propagation
How does the Gameboy Link Cable work?
What is a GPU year?
Asking my PhD advisor for a postdoc position. Is it bad to appear desperate?
Is there a problem using A LOT of locks in a process?
How would a young girl/boy (about 14) who never gets old survive in the 16th century?
Pagination calculation
Need help wiring two lights from a switch at the end
What are the Advantages of having a Double-pane Space Helmet?
Chromatic abberation in lens
Are there any spells that aren't on any class's spell list?
Could an eternal or near-eternal battery exist?
Why does Thorin tell Bilbo that he has "keen eyes"?
Are effects pedals overkill for acoustic instruments?
Magento 2.3.3 Fails on magento setup:di:compile with an error mentioning InvoiceFlexFieldProcessorInterface
How replayable is Pandemic Legacy? (Is the game still playable after you have completed it)
Problems when trying to load a package in R due to rJava
Error in loading in library “xlsx” R version 3.5.1I have installed package “xlsx” in my R, but when try to open the library “xlsx”, it warned that the package load failedError when installing XLConnect in RStudio on OSX 10.13.2Writing xlsx file in RUsing the rJava package on Win7 64 bit with RCannot install library(xlsx) in R and look for an alternativeR on Windows 10, rcmdr 'hasjava' errorrJava libraries fine as a package dependency locally, but not from Git repositoryImport specific sheets and specific rows and specific columns from Excel file from readxl package in Rdevtools::check fails because of 64-bit Java issueInstalling and loading “rJava”Install rJava in Rerror in installing RWeka package in Rdevtools::check() report error due to rJAVACan't load any packages in RStudioMissing Java namespace in RError occurs when installing rJavarJava Package installation failed (needed for xlsx package)Why can't I load the OpenStreetMap R-Package?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
When I type require(xlsx)
in order to load the package xlsx
in R, the following messages is shown:
> require(xlsx)
Loading required package: xlsx
Loading required package: xlsxjars
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
Failed with error: ‘package ‘rJava’ could not be loaded’
I've also tried to load the rJava
package manually but got this error message:
require(rJava)
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectures.
Do you have any suggestion on how to solve the problem?
r rjava r-xlsx
add a comment
|
When I type require(xlsx)
in order to load the package xlsx
in R, the following messages is shown:
> require(xlsx)
Loading required package: xlsx
Loading required package: xlsxjars
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
Failed with error: ‘package ‘rJava’ could not be loaded’
I've also tried to load the rJava
package manually but got this error message:
require(rJava)
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectures.
Do you have any suggestion on how to solve the problem?
r rjava r-xlsx
3
Try to installrJava
...Read this
– agstudy
Jun 29 '13 at 5:24
4
Which platform? If Windows then this may be helpful.
– dardisco
Jun 29 '13 at 6:08
also, your problem allow you to first saving your .xlsx file to a csv and then using read.csv, rather than trying to read in the .xlsx file
– generic_user
Jun 29 '13 at 7:40
2
If the last listed answer (16 votes at this point) fixed it for you, please mark the answer as accepted.
– Slak
Mar 25 '15 at 11:31
I ran into this issue too, but diverted it by using Hadley Wickham'sreadxl
package. More discussion about here - cannot install libraryxlsx in r and look for an alternative
– Ben
Jul 6 '16 at 19:27
add a comment
|
When I type require(xlsx)
in order to load the package xlsx
in R, the following messages is shown:
> require(xlsx)
Loading required package: xlsx
Loading required package: xlsxjars
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
Failed with error: ‘package ‘rJava’ could not be loaded’
I've also tried to load the rJava
package manually but got this error message:
require(rJava)
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectures.
Do you have any suggestion on how to solve the problem?
r rjava r-xlsx
When I type require(xlsx)
in order to load the package xlsx
in R, the following messages is shown:
> require(xlsx)
Loading required package: xlsx
Loading required package: xlsxjars
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
Failed with error: ‘package ‘rJava’ could not be loaded’
I've also tried to load the rJava
package manually but got this error message:
require(rJava)
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectures.
Do you have any suggestion on how to solve the problem?
r rjava r-xlsx
r rjava r-xlsx
edited Jan 23 '18 at 11:19
zx8754
32.8k8 gold badges73 silver badges115 bronze badges
32.8k8 gold badges73 silver badges115 bronze badges
asked Jun 29 '13 at 5:15
Pritam KarPritam Kar
3761 gold badge3 silver badges3 bronze badges
3761 gold badge3 silver badges3 bronze badges
3
Try to installrJava
...Read this
– agstudy
Jun 29 '13 at 5:24
4
Which platform? If Windows then this may be helpful.
– dardisco
Jun 29 '13 at 6:08
also, your problem allow you to first saving your .xlsx file to a csv and then using read.csv, rather than trying to read in the .xlsx file
– generic_user
Jun 29 '13 at 7:40
2
If the last listed answer (16 votes at this point) fixed it for you, please mark the answer as accepted.
– Slak
Mar 25 '15 at 11:31
I ran into this issue too, but diverted it by using Hadley Wickham'sreadxl
package. More discussion about here - cannot install libraryxlsx in r and look for an alternative
– Ben
Jul 6 '16 at 19:27
add a comment
|
3
Try to installrJava
...Read this
– agstudy
Jun 29 '13 at 5:24
4
Which platform? If Windows then this may be helpful.
– dardisco
Jun 29 '13 at 6:08
also, your problem allow you to first saving your .xlsx file to a csv and then using read.csv, rather than trying to read in the .xlsx file
– generic_user
Jun 29 '13 at 7:40
2
If the last listed answer (16 votes at this point) fixed it for you, please mark the answer as accepted.
– Slak
Mar 25 '15 at 11:31
I ran into this issue too, but diverted it by using Hadley Wickham'sreadxl
package. More discussion about here - cannot install libraryxlsx in r and look for an alternative
– Ben
Jul 6 '16 at 19:27
3
3
Try to install
rJava
...Read this– agstudy
Jun 29 '13 at 5:24
Try to install
rJava
...Read this– agstudy
Jun 29 '13 at 5:24
4
4
Which platform? If Windows then this may be helpful.
– dardisco
Jun 29 '13 at 6:08
Which platform? If Windows then this may be helpful.
– dardisco
Jun 29 '13 at 6:08
also, your problem allow you to first saving your .xlsx file to a csv and then using read.csv, rather than trying to read in the .xlsx file
– generic_user
Jun 29 '13 at 7:40
also, your problem allow you to first saving your .xlsx file to a csv and then using read.csv, rather than trying to read in the .xlsx file
– generic_user
Jun 29 '13 at 7:40
2
2
If the last listed answer (16 votes at this point) fixed it for you, please mark the answer as accepted.
– Slak
Mar 25 '15 at 11:31
If the last listed answer (16 votes at this point) fixed it for you, please mark the answer as accepted.
– Slak
Mar 25 '15 at 11:31
I ran into this issue too, but diverted it by using Hadley Wickham's
readxl
package. More discussion about here - cannot install libraryxlsx in r and look for an alternative– Ben
Jul 6 '16 at 19:27
I ran into this issue too, but diverted it by using Hadley Wickham's
readxl
package. More discussion about here - cannot install libraryxlsx in r and look for an alternative– Ben
Jul 6 '16 at 19:27
add a comment
|
9 Answers
9
active
oldest
votes
The reason is probably linked to the fact you are using a 64-bit OS and R version but do not have Java installed with the same architecture.
What you have to do is to download Java 64-bit from this page: https://www.java.com/en/download/manual.jsp
After that just try to reload the xlsx
package. You shouldn't need to re-start R.
1
(+1) I'm not sure if R's message completely points to this as the problem, but it was the case for me! To be sure, you can check. If you are running 64 bit OS, and 64 bit R, run the command line and tryjava -d64 version
. If you have working 64 bit Java, it could be a system path problem.
– AdamO
Jun 30 '16 at 22:05
1
Did you meanjava -d64 -version
?
– Harrison
Mar 3 '17 at 21:03
add a comment
|
I had a similar problem what worked for me was to set JAVA_HOME. I tired it first in R:
Sys.setenv(JAVA_HOME = "C:/Program Files/Java/jdk1.8.0_101/")
And when it actually worked I set it in System Properties -> Advanced -> Environment Variables by adding a new System variable. I then restarted R/RStudio and everything worked.
add a comment
|
Its because either one of the Java versions(32 bit/64 bit) is missing from your computer. Try installing both the Jdks and run the code.
After installing the Jdks open R and type the code
system("java -version")
This will give you the version of Jdk installed. Then try loading the rJava package. This worked for me.
add a comment
|
If you have this error in RStudio, use Lauren's environmental code above and change your R version to the 32 bit version in Tools, Global Options. There should be both 32bit and 64bit R options if you have a newer version. This will require a restart of R, and limit your memory options. Installing the 64 bit version of the jre won't be required though.
add a comment
|
I had a similar issue. It is caused due the dependent package 'rJava'. This problem can be overcome by re-directing the R to use a different JAVA_HOME
.
if(Sys.getenv("JAVA_HOME")!="")
Sys.setenv(JAVA_HOME="")
library(rJava)
This worked for me.
add a comment
|
Answer in link resolved my issue.
Before resolution, I tried by adding JAVA_HOME to windows environments. It resolved this error but created another issue. The solution in above link resolves this issue without creating additional issues.
add a comment
|
An alternative package that you can use is readxl. This package don't require external dependencies.
add a comment
|
If you have this issue with macOS, there is no easy way here :( Especially, when you want to use R3.4. I have been there already ;)
R 3.4, rJava, macOS and even more mess ;)
For R3.3 is't little bit easier (R3.3 was compiled using different compiler).
R, Java, rJava and macOS adventures
add a comment
|
I think I found the resolution as I had the same problem!
My fix was to install both 32 bit and 64 bit JRE (Java Runtime Environment) version 8 update 181.(I require 32 bit for another application, but your fix can well be just re-installing 64 bit on its own.)
add a comment
|
protected by zx8754 Dec 14 '16 at 12:53
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
9 Answers
9
active
oldest
votes
9 Answers
9
active
oldest
votes
active
oldest
votes
active
oldest
votes
The reason is probably linked to the fact you are using a 64-bit OS and R version but do not have Java installed with the same architecture.
What you have to do is to download Java 64-bit from this page: https://www.java.com/en/download/manual.jsp
After that just try to reload the xlsx
package. You shouldn't need to re-start R.
1
(+1) I'm not sure if R's message completely points to this as the problem, but it was the case for me! To be sure, you can check. If you are running 64 bit OS, and 64 bit R, run the command line and tryjava -d64 version
. If you have working 64 bit Java, it could be a system path problem.
– AdamO
Jun 30 '16 at 22:05
1
Did you meanjava -d64 -version
?
– Harrison
Mar 3 '17 at 21:03
add a comment
|
The reason is probably linked to the fact you are using a 64-bit OS and R version but do not have Java installed with the same architecture.
What you have to do is to download Java 64-bit from this page: https://www.java.com/en/download/manual.jsp
After that just try to reload the xlsx
package. You shouldn't need to re-start R.
1
(+1) I'm not sure if R's message completely points to this as the problem, but it was the case for me! To be sure, you can check. If you are running 64 bit OS, and 64 bit R, run the command line and tryjava -d64 version
. If you have working 64 bit Java, it could be a system path problem.
– AdamO
Jun 30 '16 at 22:05
1
Did you meanjava -d64 -version
?
– Harrison
Mar 3 '17 at 21:03
add a comment
|
The reason is probably linked to the fact you are using a 64-bit OS and R version but do not have Java installed with the same architecture.
What you have to do is to download Java 64-bit from this page: https://www.java.com/en/download/manual.jsp
After that just try to reload the xlsx
package. You shouldn't need to re-start R.
The reason is probably linked to the fact you are using a 64-bit OS and R version but do not have Java installed with the same architecture.
What you have to do is to download Java 64-bit from this page: https://www.java.com/en/download/manual.jsp
After that just try to reload the xlsx
package. You shouldn't need to re-start R.
edited Feb 17 '16 at 9:05
micstr
3,0434 gold badges32 silver badges55 bronze badges
3,0434 gold badges32 silver badges55 bronze badges
answered May 19 '14 at 16:13
GianlucaGianluca
2,71610 gold badges35 silver badges55 bronze badges
2,71610 gold badges35 silver badges55 bronze badges
1
(+1) I'm not sure if R's message completely points to this as the problem, but it was the case for me! To be sure, you can check. If you are running 64 bit OS, and 64 bit R, run the command line and tryjava -d64 version
. If you have working 64 bit Java, it could be a system path problem.
– AdamO
Jun 30 '16 at 22:05
1
Did you meanjava -d64 -version
?
– Harrison
Mar 3 '17 at 21:03
add a comment
|
1
(+1) I'm not sure if R's message completely points to this as the problem, but it was the case for me! To be sure, you can check. If you are running 64 bit OS, and 64 bit R, run the command line and tryjava -d64 version
. If you have working 64 bit Java, it could be a system path problem.
– AdamO
Jun 30 '16 at 22:05
1
Did you meanjava -d64 -version
?
– Harrison
Mar 3 '17 at 21:03
1
1
(+1) I'm not sure if R's message completely points to this as the problem, but it was the case for me! To be sure, you can check. If you are running 64 bit OS, and 64 bit R, run the command line and try
java -d64 version
. If you have working 64 bit Java, it could be a system path problem.– AdamO
Jun 30 '16 at 22:05
(+1) I'm not sure if R's message completely points to this as the problem, but it was the case for me! To be sure, you can check. If you are running 64 bit OS, and 64 bit R, run the command line and try
java -d64 version
. If you have working 64 bit Java, it could be a system path problem.– AdamO
Jun 30 '16 at 22:05
1
1
Did you mean
java -d64 -version
?– Harrison
Mar 3 '17 at 21:03
Did you mean
java -d64 -version
?– Harrison
Mar 3 '17 at 21:03
add a comment
|
I had a similar problem what worked for me was to set JAVA_HOME. I tired it first in R:
Sys.setenv(JAVA_HOME = "C:/Program Files/Java/jdk1.8.0_101/")
And when it actually worked I set it in System Properties -> Advanced -> Environment Variables by adding a new System variable. I then restarted R/RStudio and everything worked.
add a comment
|
I had a similar problem what worked for me was to set JAVA_HOME. I tired it first in R:
Sys.setenv(JAVA_HOME = "C:/Program Files/Java/jdk1.8.0_101/")
And when it actually worked I set it in System Properties -> Advanced -> Environment Variables by adding a new System variable. I then restarted R/RStudio and everything worked.
add a comment
|
I had a similar problem what worked for me was to set JAVA_HOME. I tired it first in R:
Sys.setenv(JAVA_HOME = "C:/Program Files/Java/jdk1.8.0_101/")
And when it actually worked I set it in System Properties -> Advanced -> Environment Variables by adding a new System variable. I then restarted R/RStudio and everything worked.
I had a similar problem what worked for me was to set JAVA_HOME. I tired it first in R:
Sys.setenv(JAVA_HOME = "C:/Program Files/Java/jdk1.8.0_101/")
And when it actually worked I set it in System Properties -> Advanced -> Environment Variables by adding a new System variable. I then restarted R/RStudio and everything worked.
answered Oct 11 '16 at 20:00
Lauren FitchLauren Fitch
1661 silver badge10 bronze badges
1661 silver badge10 bronze badges
add a comment
|
add a comment
|
Its because either one of the Java versions(32 bit/64 bit) is missing from your computer. Try installing both the Jdks and run the code.
After installing the Jdks open R and type the code
system("java -version")
This will give you the version of Jdk installed. Then try loading the rJava package. This worked for me.
add a comment
|
Its because either one of the Java versions(32 bit/64 bit) is missing from your computer. Try installing both the Jdks and run the code.
After installing the Jdks open R and type the code
system("java -version")
This will give you the version of Jdk installed. Then try loading the rJava package. This worked for me.
add a comment
|
Its because either one of the Java versions(32 bit/64 bit) is missing from your computer. Try installing both the Jdks and run the code.
After installing the Jdks open R and type the code
system("java -version")
This will give you the version of Jdk installed. Then try loading the rJava package. This worked for me.
Its because either one of the Java versions(32 bit/64 bit) is missing from your computer. Try installing both the Jdks and run the code.
After installing the Jdks open R and type the code
system("java -version")
This will give you the version of Jdk installed. Then try loading the rJava package. This worked for me.
answered Mar 4 '15 at 7:19
Edwin Vivek NEdwin Vivek N
3096 silver badges24 bronze badges
3096 silver badges24 bronze badges
add a comment
|
add a comment
|
If you have this error in RStudio, use Lauren's environmental code above and change your R version to the 32 bit version in Tools, Global Options. There should be both 32bit and 64bit R options if you have a newer version. This will require a restart of R, and limit your memory options. Installing the 64 bit version of the jre won't be required though.
add a comment
|
If you have this error in RStudio, use Lauren's environmental code above and change your R version to the 32 bit version in Tools, Global Options. There should be both 32bit and 64bit R options if you have a newer version. This will require a restart of R, and limit your memory options. Installing the 64 bit version of the jre won't be required though.
add a comment
|
If you have this error in RStudio, use Lauren's environmental code above and change your R version to the 32 bit version in Tools, Global Options. There should be both 32bit and 64bit R options if you have a newer version. This will require a restart of R, and limit your memory options. Installing the 64 bit version of the jre won't be required though.
If you have this error in RStudio, use Lauren's environmental code above and change your R version to the 32 bit version in Tools, Global Options. There should be both 32bit and 64bit R options if you have a newer version. This will require a restart of R, and limit your memory options. Installing the 64 bit version of the jre won't be required though.
answered Mar 15 '17 at 17:31
Odysseus IthacaOdysseus Ithaca
1,41210 silver badges15 bronze badges
1,41210 silver badges15 bronze badges
add a comment
|
add a comment
|
I had a similar issue. It is caused due the dependent package 'rJava'. This problem can be overcome by re-directing the R to use a different JAVA_HOME
.
if(Sys.getenv("JAVA_HOME")!="")
Sys.setenv(JAVA_HOME="")
library(rJava)
This worked for me.
add a comment
|
I had a similar issue. It is caused due the dependent package 'rJava'. This problem can be overcome by re-directing the R to use a different JAVA_HOME
.
if(Sys.getenv("JAVA_HOME")!="")
Sys.setenv(JAVA_HOME="")
library(rJava)
This worked for me.
add a comment
|
I had a similar issue. It is caused due the dependent package 'rJava'. This problem can be overcome by re-directing the R to use a different JAVA_HOME
.
if(Sys.getenv("JAVA_HOME")!="")
Sys.setenv(JAVA_HOME="")
library(rJava)
This worked for me.
I had a similar issue. It is caused due the dependent package 'rJava'. This problem can be overcome by re-directing the R to use a different JAVA_HOME
.
if(Sys.getenv("JAVA_HOME")!="")
Sys.setenv(JAVA_HOME="")
library(rJava)
This worked for me.
edited Feb 11 '15 at 21:25
zerweck
3183 silver badges10 bronze badges
3183 silver badges10 bronze badges
answered Jun 26 '14 at 21:35
Arul Samuel RajkumarArul Samuel Rajkumar
211 bronze badge
211 bronze badge
add a comment
|
add a comment
|
Answer in link resolved my issue.
Before resolution, I tried by adding JAVA_HOME to windows environments. It resolved this error but created another issue. The solution in above link resolves this issue without creating additional issues.
add a comment
|
Answer in link resolved my issue.
Before resolution, I tried by adding JAVA_HOME to windows environments. It resolved this error but created another issue. The solution in above link resolves this issue without creating additional issues.
add a comment
|
Answer in link resolved my issue.
Before resolution, I tried by adding JAVA_HOME to windows environments. It resolved this error but created another issue. The solution in above link resolves this issue without creating additional issues.
Answer in link resolved my issue.
Before resolution, I tried by adding JAVA_HOME to windows environments. It resolved this error but created another issue. The solution in above link resolves this issue without creating additional issues.
edited May 23 '17 at 12:10
Community♦
11 silver badge
11 silver badge
answered Mar 7 '16 at 12:19
Orhan CelikOrhan Celik
1,02811 silver badges9 bronze badges
1,02811 silver badges9 bronze badges
add a comment
|
add a comment
|
An alternative package that you can use is readxl. This package don't require external dependencies.
add a comment
|
An alternative package that you can use is readxl. This package don't require external dependencies.
add a comment
|
An alternative package that you can use is readxl. This package don't require external dependencies.
An alternative package that you can use is readxl. This package don't require external dependencies.
answered Oct 12 '16 at 2:46
Cristóbal AlcázarCristóbal Alcázar
5926 silver badges17 bronze badges
5926 silver badges17 bronze badges
add a comment
|
add a comment
|
If you have this issue with macOS, there is no easy way here :( Especially, when you want to use R3.4. I have been there already ;)
R 3.4, rJava, macOS and even more mess ;)
For R3.3 is't little bit easier (R3.3 was compiled using different compiler).
R, Java, rJava and macOS adventures
add a comment
|
If you have this issue with macOS, there is no easy way here :( Especially, when you want to use R3.4. I have been there already ;)
R 3.4, rJava, macOS and even more mess ;)
For R3.3 is't little bit easier (R3.3 was compiled using different compiler).
R, Java, rJava and macOS adventures
add a comment
|
If you have this issue with macOS, there is no easy way here :( Especially, when you want to use R3.4. I have been there already ;)
R 3.4, rJava, macOS and even more mess ;)
For R3.3 is't little bit easier (R3.3 was compiled using different compiler).
R, Java, rJava and macOS adventures
If you have this issue with macOS, there is no easy way here :( Especially, when you want to use R3.4. I have been there already ;)
R 3.4, rJava, macOS and even more mess ;)
For R3.3 is't little bit easier (R3.3 was compiled using different compiler).
R, Java, rJava and macOS adventures
answered Aug 14 '17 at 16:25
Oo.oOOo.oO
6,6773 gold badges14 silver badges29 bronze badges
6,6773 gold badges14 silver badges29 bronze badges
add a comment
|
add a comment
|
I think I found the resolution as I had the same problem!
My fix was to install both 32 bit and 64 bit JRE (Java Runtime Environment) version 8 update 181.(I require 32 bit for another application, but your fix can well be just re-installing 64 bit on its own.)
add a comment
|
I think I found the resolution as I had the same problem!
My fix was to install both 32 bit and 64 bit JRE (Java Runtime Environment) version 8 update 181.(I require 32 bit for another application, but your fix can well be just re-installing 64 bit on its own.)
add a comment
|
I think I found the resolution as I had the same problem!
My fix was to install both 32 bit and 64 bit JRE (Java Runtime Environment) version 8 update 181.(I require 32 bit for another application, but your fix can well be just re-installing 64 bit on its own.)
I think I found the resolution as I had the same problem!
My fix was to install both 32 bit and 64 bit JRE (Java Runtime Environment) version 8 update 181.(I require 32 bit for another application, but your fix can well be just re-installing 64 bit on its own.)
answered Aug 8 '18 at 11:16
TamasTamas
476 bronze badges
476 bronze badges
add a comment
|
add a comment
|
protected by zx8754 Dec 14 '16 at 12:53
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
3
Try to install
rJava
...Read this– agstudy
Jun 29 '13 at 5:24
4
Which platform? If Windows then this may be helpful.
– dardisco
Jun 29 '13 at 6:08
also, your problem allow you to first saving your .xlsx file to a csv and then using read.csv, rather than trying to read in the .xlsx file
– generic_user
Jun 29 '13 at 7:40
2
If the last listed answer (16 votes at this point) fixed it for you, please mark the answer as accepted.
– Slak
Mar 25 '15 at 11:31
I ran into this issue too, but diverted it by using Hadley Wickham's
readxl
package. More discussion about here - cannot install libraryxlsx in r and look for an alternative– Ben
Jul 6 '16 at 19:27