Uploading a package to TIBCO Spotfire Statistics Services using TSSS Connector

After you establish a connection to Spotfire Statistics Services, you can begin uploading TERR or R packages.

Prerequisites

To complete this task, you must have completed the following steps.
  • Built the package archive or downloaded a compatible package from a trusted web site or a package repository.
    Note: Binary (built) packages are required. Source packages must be built before they can be uploaded to Spotfire Statistics Services.

    Spotfire Statistics Services accepts .zip archives (Microsoft Windows servers only) or tar.gz archives (Linux servers only).

  • Installed the Eclipse integrated development environment.
  • Downloaded the TSSS Connector Eclipse plug-in from the update page on Spotfire Statistics Services. See Package updating tools for TIBCO Spotfire Statistics Services for more information.
  • Completed the steps described in Connecting to TIBCO Spotfire Statistics Services.

A package used in a Spotfire Server deployment must match the version distributed in the SPK to Spotfire Professional users of the local TIBCO Enterprise Runtime for R engines. See Develop packages for use with the TIBCO Enterprise Runtime for R engine for more information.

Perform this task using the Statistics Services plugin for Eclipse.

Procedure

  1. Right-click the Packages folder.
  2. From the menu, select Upload Package.
  3. Supply the location of your package archive.

    validating the package upload in TSSS

  4. Add the archive. The package is now on Spotfire Statistics Services.
    Important: Although the package is on Spotfire Statistics Services, it is not loaded into the engine. With each call to Spotfire Statistics Services, the engine is started anew.

    To use the package, you can either load the library as part of your function scripts, or you can include it in the Packages field of your data function.