The Spotfire SPK
A Spotfire SPK is usually created and tested by developers to package and deploy third-party extensions to the Spotfire Server, which can then be distributed to Spotfire Analyst users.
TERR contains an R package with one function (buildSPK) that you can use to build an SPK that contains one or more R packages. See Creating the Spotfire SPK for detailed instructions.
The R packages bundled into an SPK are distributed to Spotfire Analyst users who want to write data functions and create analyses using data functions.
This documentation does not cover the Spotfire SPK in general, only those built using the SpotfireSPK package and containing R packages. For more general information about extending Spotfire using the SPK, see the Spotfire SDK documentation available at docs.tibco.com.
- Package workflow
Using packages with the TERR engine, Spotfire, and Spotfire Statistics Services is a two-part process. - Obtaining the SpotfireSPK toolset
Using the SpotfireSPK package, you can generate a Spotfire SPK containing your R or TERR packages, and then automatically distribute them to Spotfire Analyst installations in your organization. - Creating the Spotfire SPK
Practice building an SPK that contains only one package: the survival package downloaded from the Comprehensive R Archive Network (CRAN). - Spotfire SPK versioning
You create the file SpotfireSPK.spk containing the packages you want to distribute to others using the Spotfire Server. You might need to change or update the packages that you distribute, which requires changing the version of the Spotfire SPK. - Deploy the SPK to the Spotfire Server
The file SpotfireSPK.spk created by buildSPK is deployed to the Spotfire Server the same way any SPK is deployed. - Packages deployed for a small group
The package curator can deploy packages to a small group, rather than to an entire organization.