Deploying R code for the Function client interface
Most client applications that use the Spotfire Statistics Services Function Client Interface call custom functions that were written for the client application. Typically, they are not part of the packages included with TERR. The Spotfire Statistics Services Function Client Interface calls one function, and then it releases the engine. To use the Function Client Interface, follow these steps.
Important: By default, certain Spotfire Statistics Services capabilities are disabled. If you have functions that you created or used in a previous release, you might find that they no longer work as expected. Additionally, any expression that TERR determines to be potentially malicious is disabled. Below is a non-exhaustive example of some of the capabilities disabled by default in Spotfire Statistics Services.
- Sending TERR expressions that perform I/O to the file system or the internet.
- Spawning new OS processes by calling the system function.
- Calling into Java using the terrJava package, or using functions in the parallel package.
- Loading new packages, except for those included with TERR.
- Calling .C or .Fortran.
- Send expressions to the server using the Expression Service.
- Calling ExtendedServerInfo or sending other expressions that read from, or write to, your server.
- Sending potentially malicious expressions to the server using the URL API.
Procedure
- Function and package resources
The TIBCO Spotfire® product documentation includes comprehensive guidance on developing, packaging, uploading, and maintaining functions. Additionally, resources for R packages are readily available. - Manage packages between Spotfire and Spotfire Statistics Services
You can share Spotfire visualizations that use R language packages. To share such visualizations widely in a web browser, your server configuration must include the Spotfire web client and Spotfire Statistics Services deployed and configured to work with Spotfire Server.
Related concepts
Related tasks
Copyright © TIBCO Software Inc. All rights reserved.