Hello all,
I'm using R 2.13.0 on windows 7.
It seems rJava is failing to load for me, here is the error received:
> 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 tried installing the latest version and found that it is not available on
CRAN.
I did find a copy here:
http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.13/
(Thanks to Professor Brian Ripley!)
And tries installing it, although that didn't seem to work so well.
Using install.packages leads to the following error:
install.packages(pkgs="
http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.13/rJava_0.8-8.zip
")
Installing package(s) into ‘D:/R/library’
(as ‘lib’ is unspecified)
inferring 'repos = NULL' from the file name
Error in .zip.unpack(pkg, tmpDir) :
zipfile '
http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.13/rJava_0.8-8.zip'
not found
I also tried using the GUI but I seem to be getting some "invisible"
output:
> utils:::menuInstallLocal()
>
Any suggestions on how to proceed?
Thanks,
Tal
----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com | 972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------
[[alternative HTML version deleted]]