On the server that hosts the R Service, a call to buildServerSPK() may silently fail to generate the Spotfire SPK file.

On the server that hosts the R Service, a call to buildServerSPK() may silently fail to generate the Spotfire SPK file.

book

Article ID: KB0070269

calendar_today

Updated On:

Products Versions
Spotfire Service for R All supported versions

Description

In an open-source R Console session configured for use by the R Service (Spotfire Service for R) and running on the server that hosts the R Service, a call to buildServerSPK() may silently fail to generate the Spotfire SPK file:
 


> file.exists("Test.dcf")
[1] TRUE
>
>
> buildServerSPK("Test.dcf", "ServerSPK.spk", version="1.1.0.0")
Done.
>

> file.exists("ServerSPK.spk")
[1] FALSE



This is typically due to use of a server that does not provide all of the utilities needed for construction of the Spotfire SPK file.
 

Issue/Introduction

This article suggests steps to try when a call to buildServerSPK() silently fails to generate a Spotfire SPK file with CRAN packages for use by the R Service (Spotfire Service for R).

Environment

All supported operating systems

Resolution

Either or both of the following may resolve this issue:

(a) Install a zip utility on the server.

or

(b) Download Rtools and install it on the server.


Rtools can be downloaded from the open-source R community's CRAN website at the following URL:

https://cran.r-project.org/bin/windows/Rtools/


Note:  Rtools is not a CRAN package.