Spotfire® Service for R Installation and Administration

Preparing to Install the Spotfire Service for R

Before you configure the Spotfire Service for R, on the computer running the node manager, you must first install and configure R, and then ensure that you set the path for R_HOME to SPOTFIRE_R_HOME.

Before you begin

You must have administrative read-write privileges on the computer running the node manager where you intend to install the Spotfire Service for R.

If you plan to customize the configuration, you must first deploy the Spotfire Service for R SDN and install the service on a node. This is required to be able to access the custom.properties file mentioned in Step 4.

About this task

This task is required for every node for which you intend to run the Spotfire Service for R.

Perform this task on the computer running the node manager where you are installing the Spotfire Service for R.

Procedure

  1. From a browser, go to the CRAN repository and select a download mirror close to your location.
  2. Click the download link for your operating system.
    Note: The best version of R for you to use depends on your operating system distribution and version. Be sure to download a 64-bit supported version of R. For a list of supported versions, see the Spotfire Service for R system requirements.
    • If you are installing R for Windows, the download includes a binary .exe archive that you can unpack in a directory on the computer.
    • If you are installing R for Linux, select the operating system that your computer is running. If you are installing from source code, while configuring the language, specify the parameter --enable-R-shlib.
  3. Install R.
  4. On Linux, set the path rhome.path in the file custom.properties.
    On Windows, set the environment variable SPOTFIRE_R_HOME to the path of the R installation to use for the service.
    Note: Alternatively on Windows, you can set the path rhome.path in the file custom.properties.

    Set this value to the directory in which the bin directory is installed.

    Example for Windows:
    C:/R/R-4.4.0
    Example for Linux:
    /opt/R/R-4.4.0