cancel
Showing results for 
Search instead for 
Did you mean: 

Sap Predictive Analytics

Former Member
0 Kudos

Unable to install R in in SAP Predictive analytics...I am running R3.2 and have installed all the packages

However when I call library(rJava) it comes with the following message:

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’

Also some of the other libraries dont appear , in my installed packages even though I loaded them...others do appear

Graham

Accepted Solutions (1)

Accepted Solutions (1)

abdel_dadouche
Active Contributor
0 Kudos

Hi Graham,

Can you share with us which version of SAP Predictive analytics you are using? Is it the 32bit or 64bit desktop version of SAP Predictive analytics?


What of java do you have installed on your machine? and which bit version?

You can get the information by running the following command in a DOS command prompt:

     java -version

It is likely that you have a mismatch between SAP Predictive analytics and Java, where one is 32 bit and the other 64 bit.

Can you also run the following commands in a DOS command prompt:

     reg query "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment"

     reg query "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit"

This will tell us what version are installed on your machine.

Regarding your other question regarding the missing packages, have you use the "import R script" feature for these packages?

Regards

@bdel

abdel_dadouche
Active Contributor
0 Kudos

Hi Graham,

Any update on this question?

Regards

@bdel

abdel_dadouche
Active Contributor
0 Kudos

Hi Graham,

I'll mark this thread as answered. Feel free to enter a new question in case you are still facing the isse.

Regards

@bdel

Answers (0)