KnowledgeBase Content Details

July 13, 2017


How to Install R Packages for use with TIBCO Spotfire Analyst Client.


This document describes the steps required to install an R package from the Comprehensive R Archive Network (CRAN) onto TIBCO Enterprise Runtime for R (TERR) for use with TERR Data Functions and/or TERR Expression Functions in TIBCO Spotfire 6.5. This is applicable to other versions of TIBCO Spotfire, but the TERR version and TERR references will differ.

An R package is a set of functionality for R or TERR that may not be included in the base installations of R or TERR. You may need to install R packages in order to create or use Spotfire analyses that include TERR Data Functions and/or TERR Expression Functions.

The main repository for R packages that have been contributed by members of the R community is the Comprehensive R Archive Network (CRAN) at The packages on CRAN have been designed to work with open source R, and many also work with TERR. Note that some of the R packages on CRAN do not work with TERR. Documentation about TERR’s compatibility with R packages from CRAN, including compatibility testing results, is available at Even if a package is listed as a test failure in the above documentation, we encourage users to try the package.

This document describes a self-service way for an individual end user of TIBCO Spotfire Analyst or TIBCO Spotfire Desktop software to install R packages on TERR for use with Spotfire on his or her own computer. Be aware that different methods can be used by systems administrators to install R packages on TIBCO Spotfire Statistics Services (TSSS) servers, to enable usage of R packages from TIBCO Spotfire Web Player and to deploy sets of R packages to installations of TIBCO Spotfire Analyst across an organization. For details on these methods, refer to the TIBCO Spotfire Statistics Services Package Management documentation at and/or


Back to KnowledgeBase