# Packages Running in a Local Spotfire Enterprise Runtime for R Engine in Spotfire

Running functions locally requires making the TERR engine available under Spotfire.

To run the functions in a package using the TERR engine that is installed with Spotfire Analyst, you must have the appropriate license enabled by your Spotfire administrator.

Remember that other people in your organization might be running analyses that depend on data functions stored in the library and that take advantage of the version of the package you are using.

In Spotfire, these scenarios are possible because Spotfire Analyst includes an embedded TERR engine. With enough resources, you can efficiently test and run analyses using data functions locally.

Note: Although the package is in your Spotfire installation, it is not loaded into the engine. To use the package, you must load the library as part of your data function script or include it in the `Packages` field of your data function.