Troubleshooting TERR and Spotfire packages

I generated a new SPK using writeLines but it is not being distributed.

It is most likely that the SPK version number is not being properly revised. Review the rules for how the SPK version is determined in SpotfireSPK versioning for more information.

I accidentally removed a package from my Spotfire installation that I need. How do I get it back?

We recommend never removing a package from Spotfire TERR Tools, unless you have downloaded and installed the package yourself from a repository such as CRAN. You must be very careful to not remove a package that is installed with TERR or distributed by the Spotfire Server using the SPK mechanism. However, should you accidentally remove a needed package, you can recover.

If you deleted a distributed package, follow these steps.
  1. Open Windows Explorer and browse to %SPOTFIRE_HOME%\Modules.

    For example, C:\Program Files (x86)\TIBCO\Spotfire\<version#>\Modules.

  2. Delete the folder TIBCO Enterprise Runtime for R Packages_<version#> .
  3. Restart Spotfire and accept the prompt to update your installation.

All of the TERR packages contained in the SPK on the Spotfire Server are redistributed.

If you deleted a package required by TERR to operate, follow these steps.

  1. Open Windows Explorer and browse to %SPOTFIRE_HOME%\Modules.

    For example, C:\Program Files (x86)\TIBCO\Spotfire\<version#>\Modules.

  2. Delete the folder TIBCO Enterprise Runtime for R_<version#> .
  3. Restart Spotfire and accept the prompt to update your installation.

The package containing TIBCO Enterprise Runtime for R is redistributed.

I am generating a different result from those seen by others. What could cause this?

Check your package version numbers to make sure everyone is using the same package version. See your package curator for more information.

I am trying to use a package on Spotifre Statistics Services but it's not working.

Be sure you are loading the package in your TERR script. Although the package is on Spotfire Statistics Services, it is not loaded into the engine. With each call to Spotfire Statistics Services, the engine is started anew. To use the package, you can either load the library as part of your function scripts, or you can include it in the Packages field of your data function.