For a given TERR release, how to identify the open-source R version used in TERR's compatibility testing.

For a given TERR release, how to identify the open-source R version used in TERR's compatibility testing.

book

Article ID: KB0080340

calendar_today

Updated On:

Products Versions
Spotfire Enterprise Runtime for R 4.0.2, 4.1.1, 4.2.0, 4.3.0, 4.3.1, 4.4.0, 4.4.1, 4.5.0 and later

Description

For a given TERR release, how to identify the open-source R version used in TERR's compatibility testing.

Issue/Introduction

For a given TERR release, how to identify the open-source R version used in TERR's compatibility testing.

Environment

All supported environments

Resolution

The "major" and "minor" components in TERR's version object identify the open-source R version used in TERR's compatibility testing. 

TERR's built-in
getRversion() function combines these two components (using a call to paste()) to display the corresponding R version to look for on the open-source R community's CRAN repository (https://cran.r-project.org/).

The following example shows that for TERR 4.4.0, the corresponding open-source R version to use is R 3.4.1:
 

=================================================  
TIBCO Software Inc. Confidential Information
Copyright (C) 2011-2017 TIBCO Software Inc. ALL RIGHTS RESERVED
TIBCO Enterprise Runtime for R version 4.4.0 for Microsoft Windows 64-bit

Type 'help()' for help.
Type 'q()' to quit.
>
>
>
> getRversion()
[1] '3.4.1'
>
>
=================================================  

 
 
Background details:
 
The following TERR command opens the help topic for the 'version' object:
 

     ?version
 
From that help topic, as displayed from TERR 4.4.0:
 
=================================================  
http://../library/base/help/R.Version
 
 
Description
 
    Displays the version and other information about the currently-running TIBCO Enterprise Runtime for R process.
 
 
Format
 
    'version' and the identical 'R.version' are lists of class "version.list" containing information about the version of TIBCO Enterprise Runtime for R, the version of R that TIBCO Enterprise Runtime for R is trying to be compatible with, the versions of the compilers used to build TIBCO Enterprise Runtime for R, and various other information specific to the product. Unless otherwise noted, all components are character strings.
 
    ...
 
    major:
        a string giving the major part of the version number of the R release TIBCO Enterprise Runtime for R should be compatible with.
 
    minor:
        a string giving the minor and patch release parts of the compatible R release number.
    ...
=================================================  

Additional Information

Help topics that are opened by the following TERR commands:
 
     ?version
     ?getRversion

     ?paste