Product: TIBCO Spotfire®
Install packages for Statistics Services
Using install.packages() when a special package is needed to run code in TERR under TSSS.
Launch the TERR engine included in the TSSS installation, which can be found in a path similar to:
C:\Program Files\TIBCO\statsvcsXX\TSSSServiceName\engines\Terr\bin\TERR.exe
Run the install.packages() function with the lib= argument set, such as:
install.packages("packageName", lib = .Library)
This will install the package in the expected location under TSSS. To confirm, run the following test URL in TSSS:
http://<servername>:<port>/<TSSSServiceName>/api/v8/function/utils/installed.packages
For example, if the servername is abcde, it is listening on port 8080, and it has a TSSSServiceName of SplusServer, the test URL will look like this:
http://abcde:8080/SplusServer/api/v8/function/utils/installed.packages
Comments
0 comments
Article is closed for comments.