Initializing help system before first use

Developing an Xpress Insight App for FICO® Platform using R

To use R in Mosel and Python apps running on Xpress Insight on FICO® Platform, you must declare your dependency on R by using Conda, in the same way as for Python and Java.

For R, if you only need to use packages that are available in the Conda channels, you must declare a dependency on r_base and your required packages within the environment.yml file. Conda has an R channel and also more R packages on the conda-forge channel.

Some R packages are not available via Conda. Xpress Insight supports the use of packages from CRAN. To obtain packages from CRAN, your Xpress Insight app must declare an additional package dependency in the environment.yml file: r::r-env. The app should then also supply a DESCRIPTION file as a model resource listing the R packages that your app depends on.

The minimum viable environment.yml declaring r_base and r_env packages from the R channel is as follows:
dependencies:
  - python=3.10.8
  - r::r-base
  - r::r-renv
The DESCRIPTION file
Depends:
    R (>= 3.1)
Imports:
    abbreviate
For more details of the correct format of a DESCRIPTION file, see the R documentation.
Warning: CRAN holds two types of packages: "pure R" packages and those that require compilation. Whilst packages that require compilation may work, they must be compiled before use and this can take many minutes. Given this must be done each time a worker creates an environment for an app, this can result in delays in job execution. We strongly recommend that you use pure R packages only. The package description within CRAN declares whether the package requires compilation. Take care that even if a particular package does not require compilation, one or more of its dependencies might.

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.