Use the TERR Tools Package Management dialog box to browse the Comprehensive R Archive Network (CRAN) for TERR-compatible packages, and to load or remove such packages. CRAN is the most widely-used repository for R packages.
Option |
Description |
Installed Packages |
Displays the packages that are currently installed on your computer in [My Documents]/TERR/x86_64-pc-windows-library/[TERRversion]. The list displays the installed package version in parentheses following the package name. |
Remove |
Removes and deletes from your computer the package currently selected in the Installed Packages list. |
CRAN Package Repository |
Lists the CRAN repository locations. When you select from the drop-down the location from where to install a package, click Load to display the packages. Selecting a location close to you might improve package installation times. |
Available Packages |
Displays the packages available in the CRAN repository you selected. The package version is listed in parentheses following the package name, If you want a specific package, scroll the list to locate it. Alternatively, start typing the name in the text box to filter the list. |
Use IE Proxy Settings |
Sets the option to install a package through a proxy. If your company uses a proxy, we recommend selecting this option. |
Install |
Installs the selected package to the directory [My Documents]/TERR/x86_64-pc-windows-library/[TERRversion] and updates the Installed Packages list. |
Note: To determine whether a package you are interested in is compatible with this version of TERR, from the Engine tab, click Launch TERR Console, and then in the console, run the following code:
packageCompat <- read.csv(
"https://bit.ly/1vWpJHz", stringsAsFactors=FALSE)
packageCompat[match("survival", packageCompat$Package),]
replacing the package "survival" with the name of the package you want to check.
This code reads from the list of packages whose examples in the help files and vignettes ran successfully in TERR. While these results are not a guarantee of 100% package compatibility, they do provide a check before proceeding to install a package and running your own tests with your code.
For more information about the test results for CRAN packages, from https://docs.tibco.com/products/tibco-enterprise-runtime-for-r, expand the PDF list, and open Open-Source R Package Compatibility.
Note: Spotfire packages (SPKs) differ from TERR and R packages. The SPK is the means to deploy extensions to the Spotfire Server, which then distributes its contents to Spotfire Analyst users.
For more information about sharing TERR and R packages in Spotfire analyses, see the Package Management section of the TERR Technical Documentation available at https://docs.tibco.com/products/tibco-enterprise-runtime-for-r.