The ResourceMap object is an associative container implemented as a singleton pattern. When called the first time it reads a configuration file containing key/value pairs.

These key/value pairs can describe absolutely anything but should be restricted to user, local or general elements expressing the configuration of the platform. Here are examples of key/value pairs:

  • the path to a required software: R-executable -> "/usr/lib/R/bin/R"
  • the path to a temporary directory: temporary-directory -> "/tmp"
  • the number of threads that should be run concurently, parallel-thread -> "4"
  • the language of the messages emited by the platform, language -> "fr"

These values can be modified by the user through the ResourceMap accessors.