Quantcast
Channel: SCN : All Content - SAP BusinessObjects Predictive Analytics
Viewing all articles
Browse latest Browse all 836

How to share your own R component

$
0
0

Hi all,

 

If you are really happy with your own-created component, you might want to share it with your colleagues (it's also a really good point for customers)

It seems to be "difficult" but in fact it's not.

 

First point that you have to check is whether you need a new library or not with your component.

If you need to add one or several library(ies), please be sure to share also the library with your colleague.

In this case, the library has to be added here : C:\Users\Public\R-3.0.1\library

 

If you don't then it's "quite" easy to share your component.

 

 

First step:

Be sure to turn off SAP PA (same for your colleague when he will "take" your component)

 

 

Second step :

go in the folder :

C:\Users\ixxxxxx\SAP Predictive Components\RScript

In this folder, you will see all the R components that you've created.

It's the place where you want to add the one given by someone else.

 

As you can see, all your components have automatic names created by SAP PA.

In my case, you can see that I've renamed my folder into more specific names. If you want to share several components I think it's better to rename ...

folder_script.jpg

 

If you do that, you have to change the name of the folder in the "component.xml" file

xml_folder.jpg

Open this file in your editor and change the "automatically created" name by the folder name

 

xmlchange.jpg

 

As you can see, I've changed the name to "BCPNN" which is the folder name.

As soon as this is done, it will be possible to share this folder with your colleagues, and they will benefit from a new component without doing anything else

 

Happy sharing

 

Alexis


Viewing all articles
Browse latest Browse all 836


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>