Spotfire® Server and Environment Security

Conditions for Running R Scripts on the Spotfire Server

If you have Spotfire® Statistics Services configured to work with R, and you are moving to Spotfire Service for R, then your R script authors need to apply trust to the R scripts so they can run when the new service is active.

If Spotfire Statistics Services is installed and configured to use R, and if the user running the script has an Author Scripts license feature, then an untrusted R script created with Spotfire Analyst will run using Spotfire Statistics Services even if the user running the script is not a member of the Script Author group.

If Spotfire Service for R is installed and configured, then only members of the Script Author group can run untrusted R scripts created using Spotfire Analyst. Script Authors must trust the scripts so they run for other users and services such as the Web Player and Automation Services. The general rule to remember is this:
  • For users (or other services, such as Automation Services and Web Services) to run an R script in Spotfire Service for R, that script can run ONLY if it has been saved and trusted by an authorized script author.
Note: If you have both Spotfire Statistics Services and Spotfire Service for R installed and configured, R scripts always default to use Spotfire Service for R, even if you specify a URL for your installation of Spotfire Statistics Services.

Optionally, Spotfire Server administrators can set the property disable.spotfire.trust.checks=true; however, administrators must use caution when considering this option, because when this property is set, Spotfire does not apply any trust checks to scripts.

Table 1. Conditions for scripts to run when Spotfire Service for R is installed
Are you in the Script Author group? Is your script trusted using the Manage Trust option? Has the server admin set disable.spotfire.trust.checks=true? The script runs without trust errors
Yes No No Yes
No No Yes Yes
No Yes No Yes
No No No No
Note: In this version of Spotfire Analyst, there is no option to run R scripts locally.