Validating the package upload

After you upload a package, run a quick validation to ensure that your package is on the server.

Procedure

  1. In a browser window, open the landing page for the server.
    For example, http://CoTSSS:8080/TERRServer.
  2. In the browser address line, following your server’s address, append the following:

    api/v8/function/utils/installed.packages.

    The resulting XML file displays header information and a character vector containing all of the installed packages. the recently-added survival package should be close to the top:


    validating the package upload on the server

    Tip: In some browsers, the page appears as a block of output text. To see the output in a more readable format, right-click the page and select View Page Source.
    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.