[R] Installing JGR and rJava
gerald.jean at dgag.ca
gerald.jean at dgag.ca
Wed Mar 31 15:30:40 CEST 2010
Hello,
I am running:
R version 2.10.0 (2009-10-26)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
on a 64-bit RedHat box.
To encourage collegues to use R, I am trying to install "JGR", which
depends on "rJava", on the above machine. At first I received and error
saying Java was not available. My IT support, I am not admin. on this
machine, installed Java (1.6.0_19) and JDK (1.6.0_19) and successfully ran:
R CMD javareconf
now, I am getting the following error:
-------------------------------------------------------------------------------------------
.
.
.
checking Java support in R... present:
interpreter : '/usr/java/../bin/java'
archiver : '/usr/java/../bin/jar'
compiler : '/usr/java/../bin/javac'
header prep.: ''
cpp flags : ''
java libs : '-L/usr/java/jdk1.6.0_19/jre/lib/amd64/server
-L/usr/java/jdk1.6.0_19/jre/lib/amd64 -L/usr/java/jdk1.6.0
_19/jre/../lib/amd64 -L -L/usr/java/packages/lib/amd64 -L/usr/lib64
-L/lib64 -L/lib -L/usr/lib -ljvm'
configure: error: One or more Java configuration variables are not set.
Make sure R is configured with full Java support (including JDK). Run
R CMD javareconf
as root to add Java support to R.
If you don't have root privileges, run
R CMD javareconf -e
to set all Java-related variables and then install rJava.
--------------------------------------------------------------------------------------------
as I said previously "R CMD javareconf" was ran. As suggested by the error
message I also tried to run:
R CMD javareconf -e
although it ran without error it didn't help? What are these
"configuration variables" and how do we set them?
Anyone has and idea on how to fix this?
Thanks for your support,
Gérald Jean
Conseiller senior en statistiques,
VP Actuariat et Solutions d'assurances,
Desjardins Groupe d'Assurances Générales
télephone : (418) 835-4900 poste (7639)
télecopieur : (418) 835-6657
courrier électronique: gerald.jean at dgag.ca
"We believe in God, others must bring Data."
W. Edwards Deming
Le message ci-dessus, ainsi que les documents l'accompagnant, sont destinés uniquement aux personnes identifiées et peuvent contenir des informations
privilégiées, confidentielles ou ne pouvant être divulguées. Si vous avez reçu ce message par erreur, veuillez le détruire.
This communication ( and/or the attachments ) is intended for named recipients only and may contain privileged or confidential information which is
not to be disclosed. If you received this communication by mistake please destroy all copies.
Faites bonne impression et imprimez seulement au besoin !
Think green before you print !
Le message ci-dessus, ainsi que les documents l'accompagnant, sont destinés uniquement aux personnes identifiées et peuvent contenir des informations privilégiées, confidentielles ou ne pouvant être divulguées. Si vous avez reçu ce message par erreur, veuillez le détruire.
This communication (and/or the attachments) is intended for named recipients only and may contain privileged or confidential information which is not to be disclosed. If you received this communication by mistake please destroy all copies.
More information about the R-help
mailing list