Problem:
After migrating from TIBCO Software Statistic Services (TSSS) to Spotfire Enterprise Runtime for R Service, warnings for packages are shown when executing a data function.
In previous product (TSSS), warnings produced by TERR can be suppressed by adding the following line of code to either inside the individual TERR script or to TERRprofile.site. This method no longer seems to work after migration.
options(warn=-1)
Resolution:
This is a known behaviour of Spotfire Enterprise Runtime for R Service. Following hot fix was released to introduce a new option to suppress the warnings.
TERRSRV-1252 - After migrating from TIBCO Software Statistic Services (TSSS) to Spotfire Enterprise Runtime for R Service, warnings for packages are shown when executing a data function. This has now been addressed by adding a disable.warning.alert property for TERR, R services to disable warnings. The default is false, to disable warnings, this property must be set to true.
Follow the steps below to apply this hot fix and enable the option to suppress warnings.
1. Deploy the hot fix to Spotfire deployment.
2. Open Spotfire web page and update TERR services with new package.
3. In Spotfire Server host, export the exisiting configuration files for TERR service.
4. Open the configuration file - you will see a new line of option (disable.warning.alert) which will be commented out.
5. Uncomment the line of option.
6. Save the file and import the configuration back to database.
7. In Nodes & Services menu of the Spotfire web gui, update the services with the new configuration.
Comments
0 comments
Article is closed for comments.