Spotfire® Server and Environment Security

Scripts in Spotfire

Spotfire supports a number of execution environments for a several programming languages: JavaScript, Python, R, TERR, or IronPython scripts, and custom queries (different database query languages). In addition, a limited subset of HTML is available in text areas of Spotfire files.

This diagram demonstrates the following.

  • Local Python script execution by Spotfire Analyst.
  • Local TERR script execution by Spotfire Analyst.
  • Local execution of IronPython from Spotfire Analyst, Spotfire Web Player, or Spotfire Automation Services.
  • Remote TERR script execution on Spotfire® Statistics Services on behalf of Spotfire Analyst.
  • Remote R script execution on Spotfire® Statistics Services on behalf of Spotfire Analyst.
  • Remote TERR script execution on TERR service, on behalf of Spotfire Analyst, Spotfire Web Player, and Spotfire Automation Services.
  • Remote Python script execution on Spotfire Service for Python on behalf of Spotfire Analyst.
  • Remote R script execution on Spotfire Service for R on behalf of Spotfire Analyst.
  • JavaScript execution on Spotfire Analyst and in a web browser (file opened in Spotfire Web Player).
  • Remote R script execution on Spotfire Service for R, on behalf of Spotfire Analyst, Spotfire Web Player, and Spotfire Automation Services.
  • Remote Python script execution on Spotfire Service for Python, on behalf of Spotfire Analyst, Spotfire Web Player, and Spotfire Automation Services.

Diagram showing the workflow for scripts in Spotfire

Not pictured: Spotfire Web Player and Spotfire Automation Services execute a data function on Spotfire® Statistics Services.

Spotfire Statistics Services can support one of four types of scripts, but they are not all not described further in this document. Use TERR service and Spotfire Service for R instead of Spotfire Statistics Services to run TERR and R data functions from Spotfire Web Player and Spotfire Automation Services.

Note: For this Spotfire release, the Spotfire Statistics Services server is discontinued and will no longer be updated. You can continue to use it but no bug fixes or security patches will be provided, and it will eventually be removed.