Packages running in a local TIBCO Enterprise Runtime for R engine in Spotfire
Running functions locally requires making the TERR engine available under Spotfire.
To run the functions in a package using the TERR engine that is installed with Spotfire Analyst, you must have the appropriate license enabled by your Spotfire administrator.
Remember that other people in your organization might be running analyses that depend on data functions stored in the library and that take advantage of the version of the package you are using.
In Spotfire, these scenarios are possible because Spotfire Analyst includes an embedded TERR engine. With enough resources, you can efficiently test and run analyses using data functions locally.
- Opening the TIBCO Enterprise Runtime for R console from Spotfire Analyst
TERR is provided in your installation of Spotfire Analyst so you can script and run data functions or create predictive models. TERR Tools is provided to give you access to the TERR console to test scripts and functions, to launch the RStudio interactive development environment for script authoring, and to the TERR Language Reference for help with installed packages. TERR Tools also provides an interface to download and install packages from the Comprehensive R Archive Network (CRAN). - Checking installed packages
You can find a list of packages included in the installation of TERR. - Package repositories
You can find or store packages in a variety of repositories. You can create your own in-house repository using the drat package. - Testing packages locally
After you have either created a package or downloaded a package from a repository such as the CRAN, you can test the package functions by running the example files in the TERR engine. Then you can write your own scripts using the package functions, and test them using Spotfire Analyst. - Getting package help
Each package you download or build should have help files. If you are writing data functions or developing analyses that use the functions in a package, you might want to see Help topics associated with them. - Removing a package from a Spotfire installation
You might decide that you no longer need a package in your Spotfire installation.
Copyright © 2021. TIBCO Software Inc. All Rights Reserved.