TIBCO Spotfire Statistics Services configured with Open-Source R engine is not starting.

TIBCO Spotfire Statistics Services configured with Open-Source R engine is not starting.

book

Article ID: KB0080656

calendar_today

Updated On:

Products Versions
Spotfire Statistics Services All Versions

Description

To use an open-source R engine with TIBCO Spotfire Statistics Services rather than the engines provided with the installation (the default TIBCO Enterprise Runtime for R engine or the S-PLUS engine), you must perform additional configuration steps. To use Open-Source R, it is required to install the rJava package in your Open-Source R installation.
 
If rJava is not installed, then this or a similar R error will be seen in the SplusServer.log file:
2015-01-23 01:27:05,811 | ERROR |  | SplusMessageServerWrapper | JobExecutionThreadPool-2: Error occurred while trying to start engine service!
Splus log:
...
**** Engine startup output *****
R version 3.1.0 (2014-04-10) -- "Spring Dance"
...
Loading required package: stats
Error: package or namespace load failed for 'rJava'
This will result in the TIBCO Spotfire Statistics Services server not being able to start.
 

Resolution

This error will be seen because the rJava package is not properly installed in the Open-Source R installation. To resolve, follow the procedure documented in the TIBCO Spotfire Statistics Services Installation and Administration Guide Configuring an open-source R engine.

Excerpt:
4. Install the rJava package.
  1. Start an open-source R desktop session.
  2. In the open-source R Console, type install.packages("rJava", install_path) where install_path is the library path where open-source R running under Spotfire Statistics Services expects to find it. For example, it might be C:/Program Files/R/R-3.4.1/library.
    Note: If you do not supply a path for this argument, you might encounter problems using rJava.
  3. Select a CRAN mirror.
    Open-source R installs the rJava package.
  4. Validate the rJava installation in the R console by running the following command:
    library(rJava)

Issue/Introduction

TIBCO Spotfire Statistics Services configured with Open-Source R engine is not starting.

Additional Information

Doc: Configuring an open-source R engine