Product: TIBCO Spotfire®
Is there a way to bundle several R packages into a Spotfire package (*.spk file) that can be deployed from Spotfire Server to make them available to all of our Spotfire Analyst desktop clients?
Is there a way to bundle several R packages (from the open-source R community's CRAN repository, for example) into a Spotfire package (*.spk file) that can be deployed from Spotfire Server to make them available to the TERR engines in all Spotfire Analyst desktop clients?
The 'buildSPK()' function in TERR's optional built-in "SpotfireSPK" package will generate a Spotfire SPK file (Spotfire package) that contains TERR and/or R packages. You can then deploy this SPK file to the Spotfire Analyst desktop clients in the same way as you deploy other Spotfire packages from Spotfire Server.
The following TERR command will load the "SpotfireSPK" package into your TERR session's search() path:
library( SpotfireSPK )
In a TERR Console session, the following command will open the TERR help file for the 'buildSPK()' function:
help( topic = "buildSPK", package = "SpotfireSPK" )
The buildSPK() function's "certificate" argument provides a mechanism for signing the SPK file, if needed.