Uploading a package to Spotfire Statistics Services from a repository
If you have access to the internet from your installation of Spotfire Statistics Services, you can log on to the server and install packages directly.
Prerequisites
You must be able to log on with administrative credentials to the server where Spotfire Statistics Services is installed.
-
Note:
The CRAN repository contains binary packages (for Windows) and source packages (for Linux and Windows). You can easily install most binary and source packages in TERR. If you have problems building from source, then build the packages using open-source R before installing them into TERR. Note that TERR does not build binary packages from source packages that contain Java source code.
See the help for install.packages(pkgname) for more information.
Due to changes in open-source R version 3.5 and resulting compatibility changes in TERR 5.0, packages that are built with a version of TERR prior to 5.0 must be rebuilt.- To install a binary package from a repository, always call install.packages(pkgname) from TERR. The install.packages function finds the correct binary version in the repository for your version of TERR. Manually downloading the binary package from CRAN can result in errors when you use it with TERR.
- To install a package from source, try installing it first with TERR (with install.packages in TERR or with TERR CMD INSTALL from a command line).
- To install a package from source that you cannot build with TERR, install the package with the version of open-source R tested with TERR.
Spotfire Statistics Services accepts .zip archives (Microsoft Windows servers only) or tar.gz archives (Linux servers only).
- If you plan to download an R package from CRAN to run on the TERR engine, we recommend that you check the package compatibility list for the version of TERR on your installation of Spotfire Statistics Services, and test the package with the version of TERR that is in your installation of Spotfire Statistics Services. See the Documentation page for TERR for more information.