# Use Spotfire Enterprise Runtime for R with Spotfire

If you are developing and using data functions in Spotfire Analyst, you can select one of three possible TERR engines.

Spotfire provides three configuration options for using the TERR engine. You can set these options in the Spotfire Analyst user interface. On the Spotfire Analyst menu, click Tools > Options, and then scroll down and select the Data Functions option. In the resulting display, you can set one of the following:

- The locally-installed TERR engine, if you are running Spotfire Analyst.
- The default Spotfire® Statistics Services deployed and configured with the TERR engine. If you are displaying data visualizations, you must have Spotfire Statistics Services deployed in your Spotfire Server.
- A custom Spotfire Statistics Services URL (such as the Spotfire® Local Adapter).

Finding information | Resource
--- | ---
The default Spotfire Statistics Services URL. | See your Spotfire Server administrator.
Setting options for data functions. | Spotfire® User's Guide, available from the Spotfire user interface.
Sharing Spotfire analyses that use TERR packages. | Package Management.
Creating functions that run the TERR engine in Spotfire Analyst. | Advanced Analytics in Spotfire.