How to Set Up Integration with R?

The time series analysis tool enables the user to set up integration with the R package extending analytical features of the tool.

For details about R, see the R documentation.

Integration in the Desktop Application

To get a full description of Foresight Analytics Platform with R package integration process, see the Connecting External Modules to Foresight Analytics Platform article.

Integration in the Web Application

  1. Perform the same procedures for integration of R that are used in the desktop application.

  2. Open the  PP.xml file for edit.

  1. Add the following code to the PP.xml file to the <pp> section:

<modules>
    <timeSeries>
        <ReportBox isRExist="true" />
    </timeSeries>
</modules>
  1. Save change and close the  PP.xml file.

  2. Restart the web server used by the web application, and also BI server.

After these procedures R methods are available to use in the web application.

Example of the PP.xml File Containing Settings for Integration with R

<pp>
    <service url="http://localhost/fpBI_App_v9.2x64/axis2/services/PP.SOM.Som"/>
    <metabase id="FPRepository"/>
    <cultures>
        <culture cultureName="ru"/>
        <culture cultureName="en"/>
    </cultures>
    <Modules>
        <timeSeries>
            <ReportBox isRExist="true"/>
        </timeSeries>
    </Modules>
</pp>

See also:

Questions and Answers | Which Foresight Analytics Platform Methods can be Calculated Using R? | Using R on Model Calculation