# Package Management in Spotfire Enterprise Runtime for R

You can develop custom packages, or you can use one of the packages customized to use specifically with TERR and posted on the TERR Archive Network, or you can use one of the many packages developed and posted on the Comprehensive R Archive Network (CRAN).

- You can use TERR to develop packages to share with other R developers.
- You can install packages directly on a Spotfire Statistics Services server using `install.packages()` from the engine on the server.
- You can put the packages on a Spotfire Statistics Services server using the Eclipse plugin designed to deploy packages to Spotfire Statistics Services, or you can put the packages on a Spotfire Statistics Services server using the spserverapi package function `administrationService.uploadPackageVersion`. (See its help for more information.)
- You can use the functions in your custom packages or in CRAN packages in data functions developed for Spotfire analytics, and then share the Spotfire analytics with others.

See the Package Management for the Spotfire® Environment for more information.

Be sure you follow the recommended practices for maintaining package versions.