An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110407/2dc9b2fb/attachment.pl>
Problem Installing rJava on MS Win 7 Platform
7 messages · Stephen P. Molnar, Uwe Ligges, David Winsemius +2 more
You failed to install an appropriate Java version. Best, Uwe Ligges
On 07.04.2011 16:30, Stephen P Molnar wrote:
I'm a new R user and, frankly, this problem has got me stumped. I'm using the 64 bit version of RGui and followed the installation instructions on http://www.rforge.net/rJava/ Here is the result: package 'rJava' successfully unpacked and MD5 sums checked
library(rJava)
Error in utils::readRegistry(key, "HLM", 2) : Registry key 'Software\JavaSoft\Java Runtime Environment' not found Error in utils::readRegistry(key, "HLM", 2) : Registry key 'Software\JavaSoft\Java Development Kit' not found Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(...) error: JAVA_HOME cannot be found from the Registry Error: package/namespace load failed for 'rJava' I don't Have the faintest idea as t what I've done, or failed to do. Assistance will be greatly appreciated. Thanks in advance. Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivriate http://www.FoundationForChemistry.com [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list 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.
Thanks for the reply. Yes, you are quite correct, but:
install.packages('rJava')
Warning in install.packages("rJava") :
argument 'lib' is missing: using
'C:\Users\Stephen\Documents/R/win64-library/2.11'
--- Please select a CRAN mirror for use in this session ---
Warning: unable to access index for repository
http://www.stats.ox.ac.uk/pub/RWin/bin/windows64/contrib/2.11
trying URL 'http://cran.case.edu/bin/windows64/contrib/2.11/rJava_0.8-5.zip'
Content type 'application/zip' length 658913 bytes (643 Kb)
opened URL
downloaded 643 Kb
package 'rJava' successfully unpacked and MD5 sums checked
The downloaded packages are in
C:\Users\Stephen\AppData\Local\Temp\Rtmpcy0hAb\downloaded_packages
install.packages('C;\Users\Stephen\AppData\Local/Temp/Rtmpcy0hAb\downloaded_
$
Error: '\U' used without hex digits in character string starting "C;\U"
So, obviously, at this point I am attempting something that R does not like. Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivriate http://www.FoundationForChemistry.com -----Original Message----- From: Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de] Sent: Thursday, April 07, 2011 11:34 AM To: Stephen P Molnar Cc: r-help at r-project.org Subject: Re: [R] Problem Installing rJava on MS Win 7 Platform You failed to install an appropriate Java version. Best, Uwe Ligges
On 07.04.2011 16:30, Stephen P Molnar wrote:
I'm a new R user and, frankly, this problem has got me stumped. I'm using the 64 bit version of RGui and followed the installation instructions on http://www.rforge.net/rJava/ Here is the result: package 'rJava' successfully unpacked and MD5 sums checked
library(rJava)
Error in utils::readRegistry(key, "HLM", 2) : Registry key 'Software\JavaSoft\Java Runtime Environment' not found Error in utils::readRegistry(key, "HLM", 2) : Registry key 'Software\JavaSoft\Java Development Kit' not found Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(...) error: JAVA_HOME cannot be found from the Registry Error: package/namespace load failed for 'rJava' I don't Have the faintest idea as t what I've done, or failed to do. Assistance will be greatly appreciated. Thanks in advance. Stephen P. Molnar, Ph.D. Life is
a
fuzzy set Foundation for Chemistry
Stochastic
and multivriate http://www.FoundationForChemistry.com [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list 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.
He said "Java", not "rJava.
On Apr 7, 2011, at 11:51 AM, Stephen P Molnar wrote:
Thanks for the reply. Yes, you are quite correct, but:
install.packages('rJava')
Warning in install.packages("rJava") :
argument 'lib' is missing: using
'C:\Users\Stephen\Documents/R/win64-library/2.11'
--- Please select a CRAN mirror for use in this session ---
Warning: unable to access index for repository
http://www.stats.ox.ac.uk/pub/RWin/bin/windows64/contrib/2.11
trying URL 'http://cran.case.edu/bin/windows64/contrib/2.11/rJava_0.8-5.zip' Content type 'application/zip' length 658913 bytes (643 Kb) opened URL downloaded 643 Kb package 'rJava' successfully unpacked and MD5 sums checked The downloaded packages are in C:\Users\Stephen\AppData\Local\Temp\Rtmpcy0hAb \downloaded_packages
install.packages('C;\Users\Stephen\AppData\Local/Temp/Rtmpcy0hAb
\downloaded_
There is a semi-colon in that path above that looks wrong. You might first want to check that all your PATH entries are recorded properly.
David. > $ > Error: '\U' used without hex digits in character string starting "C; > \U" >> > > So, obviously, at this point I am attempting something that R does > not like. > > Stephen P. Molnar, Ph.D. > Life is a > fuzzy set > Foundation for Chemistry > Stochastic > and multivriate > http://www.FoundationForChemistry.com > > > -----Original Message----- > From: Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de] > Sent: Thursday, April 07, 2011 11:34 AM > To: Stephen P Molnar > Cc: r-help at r-project.org > Subject: Re: [R] Problem Installing rJava on MS Win 7 Platform > > You failed to install an appropriate Java version. > > Best, > Uwe Ligges > > > On 07.04.2011 16:30, Stephen P Molnar wrote: >> I'm a new R user and, frankly, this problem has got me stumped. >> >> >> >> I'm using the 64 bit version of RGui and followed the installation >> instructions on http://www.rforge.net/rJava/ >> >> >> >> Here is the result: >> >> >> >> package 'rJava' successfully unpacked and MD5 sums checked >> >>> library(rJava) >> >> Error in utils::readRegistry(key, "HLM", 2) : >> >> Registry key 'Software\JavaSoft\Java Runtime Environment' not found >> >> Error in utils::readRegistry(key, "HLM", 2) : >> >> Registry key 'Software\JavaSoft\Java Development Kit' not found >> >> Error : .onLoad failed in loadNamespace() for 'rJava', details: >> >> call: fun(...) >> >> error: JAVA_HOME cannot be found from the Registry >> >> Error: package/namespace load failed for 'rJava' >> >> >> >> I don't Have the faintest idea as t what I've done, or failed to do. >> >> >> >> Assistance will be greatly appreciated. >> >> >> >> Thanks in advance. >> >> >> >> Stephen P. Molnar, Ph.D. >> Life is > a >> fuzzy set >> >> Foundation for Chemistry > Stochastic >> and multivriate >> >> http://www.FoundationForChemistry.com >> >> >> >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help at r-project.org mailing list >> 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 at r-project.org mailing list > 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. David Winsemius, MD West Hartford, CT
-----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of David Winsemius Sent: Thursday, April 07, 2011 11:41 AM To: Stephen P Molnar Cc: r-help at r-project.org; 'Uwe Ligges' Subject: Re: [R] Problem Installing rJava on MS Win 7 Platform He said "Java", not "rJava.
On Apr 7, 2011, at 11:51 AM, Stephen P Molnar wrote:
Thanks for the reply. Yes, you are quite correct, but:
install.packages('rJava')
Warning in install.packages("rJava") :
argument 'lib' is missing: using
'C:\Users\Stephen\Documents/R/win64-library/2.11'
--- Please select a CRAN mirror for use in this session ---
Warning: unable to access index for repository
http://www.stats.ox.ac.uk/pub/RWin/bin/windows64/contrib/2.11
trying URL
'http://cran.case.edu/bin/windows64/contrib/2.11/rJava_0.8-5.zip'
Content type 'application/zip' length 658913 bytes (643 Kb)
opened URL
downloaded 643 Kb
package 'rJava' successfully unpacked and MD5 sums checked
The downloaded packages are in
C:\Users\Stephen\AppData\Local\Temp\Rtmpcy0hAb
\downloaded_packages
install.packages('C;\Users\Stephen\AppData\Local/Temp/Rtmpcy0hAb
\downloaded_
There is a semi-colon in that path above that looks wrong. You might first want to check that all your PATH entries are recorded properly.
David. > $ > Error: '\U' used without hex digits in character string starting "C; > \U" >> > > So, obviously, at this point I am attempting something that R does > not like. In addition, for Windows you need to either double your back-slashes in the file path, or use forward-slashes instead. Hope this is helpful, Dan Daniel Nordlund Bothell, WA USA
1 day later
That's true. However, Java is installed on the machine. On Thu, 7 Apr 2011 14:40:54 -0400
David Winsemius <dwinsemius at comcast.net> wrote:
He said "Java", not "rJava. On Apr 7, 2011, at 11:51 AM, Stephen P Molnar wrote:
Thanks for the reply. Yes, you are quite correct, but:
install.packages('rJava')
Warning in install.packages("rJava") :
argument 'lib' is missing: using
'C:\Users\Stephen\Documents/R/win64-library/2.11'
--- Please select a CRAN mirror for use in this session ---
Warning: unable to access index for repository
http://www.stats.ox.ac.uk/pub/RWin/bin/windows64/contrib/2.11
trying URL 'http://cran.case.edu/bin/windows64/contrib/2.11/rJava_0.8-5.zip' Content type 'application/zip' length 658913 bytes (643 Kb) opened URL downloaded 643 Kb package 'rJava' successfully unpacked and MD5 sums checked The downloaded packages are in C:\Users\Stephen\AppData\Local\Temp\Rtmpcy0hAb \downloaded_packages
install.packages('C;\Users\Stephen\AppData\Local/Temp/Rtmpcy0hAb
\downloaded_
There is a semi-colon in that path above that looks wrong. You might first want to check that all your PATH entries are recorded properly. -- David.
$ Error: '\U' used without hex digits in character string starting "C; \U"
So, obviously, at this point I am attempting something that R does not like.
Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivriate http://www.FoundationForChemistry.com -----Original Message----- From: Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de] Sent: Thursday, April 07, 2011 11:34 AM To: Stephen P Molnar Cc: r-help at r-project.org Subject: Re: [R] Problem Installing rJava on MS Win 7 Platform You failed to install an appropriate Java version. Best, Uwe Ligges On 07.04.2011 16:30, Stephen P Molnar wrote:
I'm a new R user and, frankly, this problem has got me stumped. I'm using the 64 bit version of RGui and followed the installation instructions on http://www.rforge.net/rJava/ Here is the result: package 'rJava' successfully unpacked and MD5 sums checked
library(rJava)
Error in utils::readRegistry(key, "HLM", 2) : Registry key 'Software\JavaSoft\Java Runtime Environment' not found Error in utils::readRegistry(key, "HLM", 2) : Registry key 'Software\JavaSoft\Java Development Kit' not found Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(...) error: JAVA_HOME cannot be found from the Registry Error: package/namespace load failed for 'rJava' I don't Have the faintest idea as t what I've done, or failed to do. Assistance will be greatly appreciated. Thanks in advance. Stephen P. Molnar, Ph.D. Life is
a
fuzzy set Foundation for Chemistry
Stochastic
and multivriate http://www.FoundationForChemistry.com [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list 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 at r-project.org mailing list 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.
David Winsemius, MD West Hartford, CT
Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivarate http://www.FoundationForChemistry.com 614.312.7528 (c)
On 11-04-09 8:00 AM, Stephen P. Molnar wrote:
That's true. However, Java is installed on the machine.
The installation instructions ask for the Java Development Kit, "JDK". From the messages below, that's not installed. Duncan Murdoch
On Thu, 7 Apr 2011 14:40:54 -0400 David Winsemius<dwinsemius at comcast.net> wrote:
He said "Java", not "rJava. On Apr 7, 2011, at 11:51 AM, Stephen P Molnar wrote:
Thanks for the reply. Yes, you are quite correct, but:
install.packages('rJava')
Warning in install.packages("rJava") :
argument 'lib' is missing: using
'C:\Users\Stephen\Documents/R/win64-library/2.11'
--- Please select a CRAN mirror for use in this session ---
Warning: unable to access index for repository
http://www.stats.ox.ac.uk/pub/RWin/bin/windows64/contrib/2.11
trying URL 'http://cran.case.edu/bin/windows64/contrib/2.11/rJava_0.8-5.zip' Content type 'application/zip' length 658913 bytes (643 Kb) opened URL downloaded 643 Kb package 'rJava' successfully unpacked and MD5 sums checked The downloaded packages are in C:\Users\Stephen\AppData\Local\Temp\Rtmpcy0hAb \downloaded_packages
install.packages('C;\Users\Stephen\AppData\Local/Temp/Rtmpcy0hAb
\downloaded_
There is a semi-colon in that path above that looks wrong. You might first want to check that all your PATH entries are recorded properly. -- David.
$ Error: '\U' used without hex digits in character string starting "C; \U"
So, obviously, at this point I am attempting something that R does not like.
Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivriate http://www.FoundationForChemistry.com -----Original Message----- From: Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de] Sent: Thursday, April 07, 2011 11:34 AM To: Stephen P Molnar Cc: r-help at r-project.org Subject: Re: [R] Problem Installing rJava on MS Win 7 Platform You failed to install an appropriate Java version. Best, Uwe Ligges On 07.04.2011 16:30, Stephen P Molnar wrote:
I'm a new R user and, frankly, this problem has got me stumped. I'm using the 64 bit version of RGui and followed the installation instructions on http://www.rforge.net/rJava/ Here is the result: package 'rJava' successfully unpacked and MD5 sums checked
library(rJava)
Error in utils::readRegistry(key, "HLM", 2) : Registry key 'Software\JavaSoft\Java Runtime Environment' not found Error in utils::readRegistry(key, "HLM", 2) : Registry key 'Software\JavaSoft\Java Development Kit' not found Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(...) error: JAVA_HOME cannot be found from the Registry Error: package/namespace load failed for 'rJava' I don't Have the faintest idea as t what I've done, or failed to do. Assistance will be greatly appreciated. Thanks in advance. Stephen P. Molnar, Ph.D. Life is
a
fuzzy set Foundation for Chemistry
Stochastic
and multivriate http://www.FoundationForChemistry.com [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list 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 at r-project.org mailing list 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.
David Winsemius, MD West Hartford, CT