Skip to Content
0
Former Member
May 31, 2017 at 06:57 AM

Error_FROM_R - Expert Analytics

455 Views

Dear,


I am following the training online on OpenSAP:
Getting Started with Data Science

For this training we need to use SAP BusinessObjects Predictive Analytics - Expert Analytics. There is an requirement of an installation of the tool and R.

To do it, I followed the tutorial:
https://open.sap.com/files/c38c6643-b5d7-41e7-8fb7-d2d9340f97ae

However, when I try to use the Prediction part of the tool I always get this error:
ERROR_FROM_R.
Inside the logs I found:

2017/05/31 08:52:18.837000|>>|S| |15296| 41| |||||||||||||||RCommand: -------- library(arules) at com.sap.pa.components.algorithms.R.generic.RCommandExecutor.executeCommand(RCommandExecutor.java:94): TraceLog Message 0 2017/05/31 08:52:18.842000|>>|E| |15296| 41| |||||||||||||||[com.sap.pa.components.algorithms.R.generic.RCommandExecutor]Command failed to execute: library(arules) at com.sap.pa.components.algorithms.R.generic.RCommandExecutor.executeCommand(RCommandExecutor.java:101): TraceLog Message 0 2017/05/31 08:52:18.843000|>>|E| |15296| 41| |||||||||||||||[com.sap.pa.components.algorithms.R.generic.RCommandExecutor]Command returned Error from R: Error in library(arules) : 'arules' is not a valid installed package 2017/05/31 08:52:18.846000|>>|E| |15296| 41| |||||||||||||||Missing resource in classPath:com.sap.pa.components.params.resources.Algorithms_messages 2017/05/31 08:52:18.846000|>>|E| |15296| 41| |||||||||||||||Missing resource in classPath:_COMPONENT_ERROR 2017/05/31 08:52:18.849000|>>|E| |15296| 41| |||||||||||||||cannot find the error message Can't find resource for bundle java.util.PropertyResourceBundle, key ERROR_FROM_R

I tried to install the library arules, however I got the error:

> install.packages("arules", dependencies=T, lib="C:/Users/Public/R-3.3.0/library") Warning in install.packages : package ‘arules’ is not available (for R version 3.3.0)

I checked differents help on this problems but nothing works.

Could you please advise me what is wrong and a work around?

Many thanks.

Aurelien

My version of Predictive Analytics:
https://mdocs.sap.com/mcm/public/v1/open?shr=p4f3QUKin-dUuGGEhg7OHkPf6pimMn1pYtBogyB22DI