Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Exactly as Model Types, Model Objects evaluations and calculations support the evaluation of R code.

Prerequisites

An R server instance must be configured on the cluster running your Pricefx partition.

You can create an internal Pricefx helpdesk ticket for that, or if you have sufficient rights, you can directly modify the Kubernetes configuration of the corresponding cluster like here: https://gitlab.pricefx.eu/dev-ops/infra/core-qa-1/core_qa_1_eu-west-1_app_clusters/-/merge_requests/419.

Logic

Once the R server is configured, you can interact with it by using the RContext object reference obtained using model.rContext().

...