Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
TIBCO Spotfire Statistics Services configured with Open-Source R engine is not starting.
Solution:
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'
Excerpt:
4. Install the rJava package.
- Start an open-source R desktop session.
- 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. - Select a CRAN mirror.
Open-source R installs the rJava package. - Validate the rJava installation in the R console by running the following command:
library(rJava)
Comments
0 comments
Article is closed for comments.