Spotfire® Enterprise Runtime for R

Obtaining the SpotfireSPK Toolset

Using the SpotfireSPK package, you can generate a Spotfire SPK containing your R or TERR packages, and then automatically distribute them to Spotfire Analyst installations in your organization.

About this task

You must have installed Spotfire Analyst. You must have a license to use TERR in your Spotfire Analyst installation.

Procedure

  1. From the Spotfire Analyst menu, click Tools > TERR Tools.
  2. On the Engine tab, click Launch TERR Console.
    The TERR console in the Spotfire installation is displayed.
  3. At the console prompt, type library("SpotfireSPK").
    The package is loaded in the TERR session, and you are now ready to build the SPK to contain the TERR-compatible binary packages.
  4. Review the Help for the package functions, buildSPK and buildServerSPK, by typing the following in at the command-line in the TERR console:
    ?buildSPK or ?buildServerSPK
    • buildSPK builds an SPK that is distributed to other Spotfire Analyst users.
    • buildServerSPK builds an SPK that is installed on the Spotfire Server for the TERR Service to use.