SAS and MATLAB code for the server
You can configure the server to evaluate scripts written using the SAS®, or MATLAB® scripting languages instead of evaluating using TERR or R code.
SAS or MATLAB engines must be installed on the server.(1)
Unlike the open-source R or TERR code engines, the server supports evaluating a script using only the Expression Client interface. It does not support calling a named function using the Function Client interface.
This section assumes that anyone using the SAS, or MATLAB engines already knows how to write scripts in those languages. The following subsections give details of how to access input and output data within the script when you are accessing the server from TIBCO Spotfire® or by using the other APIs.
- Spotfire data inputs and outputs for SAS
The only part of the SAS software required by Spotfire Statistics Services is Base SAS. Other SAS software packages are not required, but they can be installed on the machine. - Non-Spotfire data in SAS
When you use one of the non-Spotfire APIs to send a SAS script to the server, you can specify input data objects that are converted into SAS data sets and available as SAS input data sets with the specified names. - Known issues with SAS
If you plan to use a SAS engine in Spotfire Statistics Services, you should known issues. - Spotfire data inputs and outputs for MATLAB
For general information regarding scripting using MATLAB, refer to your MATLAB software documentation. - Non-Spotfire data in MATLAB
When you use one of the non-Spotfire APIs to send a MATLAB script to the server, you can specify input data objects which are converted into MATLAB objects and available as MATLAB input variables with the specified names. - Known issues with MATLAB
If you plan to send MATLAB calls to Spotfire using Spotfire Statistics Services, you should review the known issues.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
MATLAB is a trademark or registered trademark of The MathWorks, Inc.