How to determine what version of R the TERR engine built into a specific Spotfire or TSSS instance is designed for

How to determine what version of R the TERR engine built into a specific Spotfire or TSSS instance is designed for

book

Article ID: KB0083835

calendar_today

Updated On:

Products Versions
Spotfire Analyst All supported versions
Spotfire Statistics Services All supported versions
Spotfire Enterprise Runtime for R All supported versions

Description

Each version of the TIBCO Enterprise Runtime for R (TERR) engine is compatible with several versions of open-source R, but you may need to know which specific version of R was used for comparison testing with the TERR version your Spotfire or TIBCO Spotfire Statistics Services (TSSS) instance is using. This can be found out by opening the designated TERR engine in a TERR Console session and running a command.

Issue/Introduction

Each version of the TERR engine is compatible with several versions of R, but a customer may need to know which specific version of R was used for comparison testing during development of the TERR engine version they are using.

Environment

Product: TIBCO Spotfire (Desktop client / Analyst / Professional) / TIBCO Spotfire Statistics Services / TIBCO Enterprise Runtime for R Version: All supported versions OS: All supported Operating Systems

Resolution

1). Open a TERR Console session using the TERR engine to be tested. 

  a). For the TIBCO Spotfire Desktop or Analyst desktop client, browse to this location:
     
       C:\Users\<username>\AppData\Local\TIBCO\Spotfire <client>\<version>\Modules\TIBCO Enterprise Runtime for R_4.x\engine\bin

  (Note: The "AppData" and "Modules" folders are hidden, so you will need to Show them in Windows Explorer or explicitly enter the folder names.

OR

  b). For TIBCO Spotfire Statistics Services on Windows, browse to this location:
 
       C:\Program Files\TIBCO\<TSSSHome>\<ServiceName>\engines\Terr\bin

2). Double-click on the TERR.exe file to launch it in a TERR Console session. 

3). At the command prompt in the TERR Console session, run the following command:

     paste( version$major, version$minor, sep = "." )

This will return a response similar to the following:

     [1] "3.3.2"

4). To close the TERR Console session, run the following command:

     q()

This will prompt you with the following question:

     Save workspace image? [y/n/c]:

Respond with an "n" to exit the TERR Console session.