Packages Running in a Local Spotfire 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.
Note: Although
the package is in your
Spotfire
installation, it is not loaded into the engine. To use the package, you must
load the library as part of your data function script or include it in the
Packages
field of your data function.
- Opening the Spotfire 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. - Checking Installed Packages
You can find a list of packages included in the installation of TERR. - Import Packages from Other 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, 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.
- Opening the Spotfire 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. - Checking Installed Packages
You can find a list of packages included in the installation of TERR. - Import Packages from Other 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, 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.
Parent topic: Packages in TIBCO Predictive Analytics