Skip to Content
avatar image
Former Member

Sap Predictive Analytics

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


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 11, 2016 at 12:56 PM

    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?



    Add comment
    10|10000 characters needed characters exceeded