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?
book
Article ID: KB0081588
calendar_today
Updated On:
Products
Versions
Spotfire Enterprise Runtime for R
All supported versions
Spotfire Analyst
All supported versions
Description
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?
Issue/Introduction
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 Spotfire Analyst desktop clients?
Environment
All
Resolution
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: