Products | Versions |
---|---|
Spotfire Server | 14.2.0 and later |
In most cases, if you are using the Spotfire R Service, you will require some additional 3rd party R packages to be installed. For Kubernetes deployments using the Spotfire Cloud Deployment Kit (CDK), this can be challenging if any of these packages require additional system libraries to be installed on the OS that runs the R Service.
Follow the steps outlined below to install the 'arrow' R package. This is an example of a 3rd party package that requires additional steps other than those already mentioned in the CDK documentation.
Arrow documentation reference
# Install any additional packages, also /opt/packages (see packagePath) can be used for additional packages COPY --chown=spotfire:spotfire additional-packages.txt /tmp RUN R --quiet -e 'install.packages(readLines(file("/tmp/additional-packages.txt", "r")))' \ && rm /tmp/additional-packages.txt RUN R --quiet -e 'arrow::install_arrow()'