On 06/06/2013 00:38, Dimitri Liakhovitski wrote:
Hello!
I installed rJava and am trying to load it.
library(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.
Error: package or namespace load failed for ‘rJava’
Any idea why?
Background info:
But the posting guide asked for the output from sessionInfo(): we want
to know what R knows it is running as, not why you think.
Windows 7, 64-bit
R version 3.0.1 (for 64-bit)
I just installed the lastest Java: Java 7 Update 21
For the right architecture?
The message is crystal clear: you do not have a Java installed matching
your R. Most likely your Java is 32-bit and your R 64-bit or v.v.
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
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.