1

I have R and Java installed on C:\Program Files. I am receiving this message when i try to load the rJava library. I have successfully installed the rJava package. thanks.

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’

1
  • I ran into a lot of install issues with rJava. It would install but not load correctly until I tried installing it as root, from source. All the different things I tried are documented in this answer. I hope that helps! Commented Sep 26, 2015 at 2:47

1 Answer 1

0

Is your Java_HOME path variable the same for both installations. Try echo $JAVA_HOME and see what happens? Also the installation suggests that you need to install the JDK not just the java library. Here is a link the most recent JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.