Oracle R is a widely-used environment for statistical computing and graphics. R can be used alongside multiple data sources, including external files or databases. OBI 12c introduces four new embedded R functions, and additionally allows users to create custom R scripts.
In order to take advantage of this new feature, complete the following steps:
- Install R and the included R packages.
For more details, see http://docs.oracle.com/middleware/1221/biee/BIESG/answersconfigset.htm#BIESG9375
- After completing installation, manually install one additional R package as follows on the OBI server:
- Open a command prompt and run R.
- To install the required package, run the following command: install.packages("glm2")
- Exit R using the command: quit().
- Copy the Primavera Analytics R scripts into the OBI scripts repository:
- Go to the <Primavera Analytics unzipped directory>\obi\12c\catalog\xml directory.
- Copy the cegbu_analytics folder into <FMW_HOME>\bi\bifoundation\advanced_analytics\scripts_repository.