Installing OFSAAAI/OFSAAI Runner Package

Oracle R and ORE must be installed on the Oracle Database server before installing the OFSAAIRunner package.
OFSAAIRunner is an R package built by the OFS Enterprise Modeling Application. It is a prerequisite for executing models developed using R scripts. This package helps in:
  • Initializing inputs
  • Mapping framework variables to R objects
  • Configuring possible outputs of the script
  • Storing results back to the Database
OFSAAIRunner package (OFSAAIRunner_1.0.0.tar.gz) is available in the $FIC_DB_ HOME/lib directory.
To install OFSAAI Runner package:
  1. Log in to the OFSAA Server. Navigate to the directory $FIC_DB_HOME/lib.
  2. Copy the file OFSAAIRunner_1.0.0.tar.gz in Binary mode to the Oracle Database Server.
  3. Log in to the Oracle Database Server with the user using which Oracle Database Server installation is done.
  4. Navigate to the directory where the file OFSAAIRunner_1.0.0.tar.gz is copied.
  5. Install the package by executing the command:
    ORE CMD INSTALL OFSAAIRunner_1.0.0.tar.gz
  6. Successful installation is indicated in the installation log as:
    * DONE (OFSAAIRunner)
    Making packages.html ... done

    Note:

    The OFSAAIRunner package is installed in the /usr/lib64/R/library directory.
  7. Navigate to the directory $ORACLE_HOME/R/library and check whether OFSAAIRunner package is listed thereby executing the command:
    >library(OFSAAIRunner)>OFSAAIRunner:: and press TAB twice.
    This lists out all the functions.