Package repositories
You can find or store packages in a variety of repositories.
You can download a package from a public repository, such as CRAN or TRAN, or you could have an internal package repository managed by your organization's package curator.
Public repositories
You can download open-source packages from a repository, and then use the functions in the package in your data functions in Spotfire. Be sure to review the list of differences between the TIBCO Enterprise Runtime for R engine, available from the TIBCO Enterprise Runtime for R landing page. Also review the limitations and considerations.
TRAN packages
A small number of popular CRAN packages have required customization to work with TIBCO Enterprise Runtime for R. TIBCO hosts a package network, TRAN, where you can find these customized packages. Individual users can download these packages from the TIBCO Enterprise Runtime for R console by calling the function install.packages(). Optionally, these customized packages can be built into a Spotfire SPK and placed on a Spotfire Server to be distributed to Spotfire users throughout your organization.
Company repositories
We strongly recommend that one skilled package developer in your organization should have the role of package curator to oversee the package version integrity within the company’s package repository, whether these are packages downloaded and tested from a public repository or developed internally and kept in a CRAN-like internal repository.
For more information about installing existing packages, see Installation options for packages.