Access Spotfire Statistics Services

Enterprises can access Spotfire Statistics Services with Spotfire or by using the Spotfire Statistics Services client APIs.

Access Description
Tools available in Spotfire Analyst Using Spotfire Analyst, R developers can employ predictive models, or they can register TERR functions in the Spotfire Library, making them available for reuse in appropriately-configured Spotfire applications.
  • During application prototyping and configuration, R developers can use theTERR engine that is installed with Spotfire Analyst.
  • For production deployment to other business users, R developers can create packages to hold functions, and then deploy them to Spotfire Statistics Services so that Spotfire can call Spotfire Statistics Services remotely.

    See the Help provided with each of these features for more information.

client APIs The server includes the following APIs in three programming languages (C# API, or Java API, and a URL-based API:
  • An Administration client interface. Use to examine the server properties (such as version, name, and time), perform administrative tasks on the server (such as checking to see if authentication is enabled), and manage server jobs (such as examining, interrupting, or deleting jobs).
  • A Function client interface. Use to call R functions on the server either synchronously or asynchronously, optionally starting at a specified time.
  • You can pass R objects or data as an argument in a request. For more information about using this feature, see Pass in a data object.
  • An Expression client interface. Use to send R expressions to the server either synchronously, asynchronously, or at a specified time.
  • A Utilities interface. Use to help create R expressions and adapt the results to the appropriate view model.
  • A WebDAV client interface. Use to examine or manipulate files, folders, properties, or methods stored in the WebDAV repository.

The APIs include objects representing returned R objects and server exceptions in the Domain package (Java) or namespace (C#). Objects are represented in SPXML, described in The SplusObject.

  • C# and Java programmers can use those APIs to design client applications or web pages that users can use to call R functions or send expressions to the server, and then examine and store the results.
    Note: If you are using the Spotfire Statistics Services Java or C# API to send data through Spotfire Statistics Services, you must limit the data to a size that can be sent using SPXML. If the data exceeds the allowed size of 512,000 bytes, the API throws an exception.
  • Server administrators and programmers can use the URL API to send simple requests to the server to check on server status.