On 27.06.2011 20:48, wwreith wrote:
Any ideas of what is happening when I attempt to load XLConnect? I think I
installed everything correctly. I posted what I get when I installed rJava
as well as when I attempted to load rJava directly. Thanks in advance for
any help you can give on this.
library(XLConnect)
Loading required package: XLConnectJars
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: fun(...)
error: JAVA_HOME cannot be found from the Registry
Error: package 'rJava' could not be loaded
This is the mesage I get when I install rjava:
Installing package(s) into ‘C:/Users/550062/Documents/R/win-library/2.13’
(as ‘lib’ is unspecified)
trying URL
'http://cran.opensourceresources.org/bin/windows/contrib/2.13/rJava_0.9-0.zip'
Content type 'application/zip' length 654181 bytes (638 Kb)
opened URL
downloaded 638 Kb
package 'rJava' successfully unpacked and MD5 sums checked
The downloaded packages are in
C:\Users\550062\AppData\Local\Temp\RtmppIjwgg\downloaded_packages
If I try loading rJava directly I get the samer error as XLConnect:
library(rJava)
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
Obvious question is: Do you have Java installed? Is this 32- or 64-bit
R? And Java? The other output suggests we are talking about Windows 7 as
the OS?
Quoting the footer:
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
Uwe Ligges
--
View this message in context:
http://r.789695.n4.nabble.com/XLConnect-Error-tp3628528p3628528.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help@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@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.