Spotfire® Enterprise Runtime for R

Limitations and Considerations

Before you begin developing packages to use with TERR, you should familiarize yourself with some basic limitations.

Platform considerations

You can develop or download open-source R packages to run on either LINUX® or Microsoft Windows® platforms. Therefore, when you write your code to run on the server, take into account the platform you expect it to run on.

  • If you plan to run packages locally on a TERR engine in Spotfire Analyst, your package must be a Windows binary package.
  • If you plan to deploy a package to run TERR in Spotfire Statistics Services, the package type must be binary, and it must match the platform of the Spotfire Statistics Services deployment.

Graphical limitations

The TERR engine provides no graphical functions itself. However, it can run as a statistical engine in Spotfire Analyst, which provides data visualizations. Alternatively, you can use some CRAN packages (such as htmlwidgets,dygraph, or leaflet) that are compatible with TERR and that provide graphical displays in the browser, or you can use the RinR package, provided with your TERR installation, to call open-source R functions for graphic displays. You should always test package functions to make sure they run as expected. See Graphics in Spotfire Enterprise Runtime for R for more information.

Licensing limitations

To make a data function available in an analysis published to a Spotfire library, you must have the appropriate licenses. If you are not sure of your licenses, or if you do not see the Tools > Register Data Functions menu in the Spotfire Analyst installation, see your Spotfire Administrator for more information.