TIBCO® Enterprise Runtime for R

Uploading a Package Using TSSS Connector

To upload a package to Spotfire Statistics Services, if you have server administrative privileges and an Eclipse installation, you can establish a connection to Spotfire Statistics Services and upload TERR or R packages using the TSSS Connector.

Before you begin

To complete this task, you must have completed the following steps.
  1. Built the package archive or downloaded a compatible package from a trusted web site or a package repository, such as CRAN or an in-house 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).

  2. Installed the Eclipse integrated development environment.
    Note: We tested versions 3.6 to 4.2.2 (Juno) of Eclipse for the remote submission tools.
  3. Downloaded the TSSS Connector Eclipse plug-in from the update page on Spotfire Statistics Services.

    For detailed information about updating or installing this plugin, browse to the landing page for the Spotfire Statistics Services installation available to you, and then see the update page.

    	http://SName:P#/SC/update

    SName is the server name, P# is the port number, and SC is the server context (for example, http://CoTSSS:8080/TERRServer/update).

About this task

If you are uploading a package that is also provided to Spotfire Analyst users from a Spotfire Server deployment, then the package version must match the version distributed in the SPK to the Spotfire Analyst users.

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 Spotfire data function.