If your installation of
Spotfire Statistics Services
is not connected to the internet, but you have administrative privileges to log
on to the server, you can still install packages on it.
About this task
You can upload two
types of packages by copying them to
Spotfire Statistics Services.
- You can upload packages
that have been created and built for your
Spotfire Statistics Services
installation.
- You can use another
computer that is running the same operating system, and that is connected to
the internet to download a package from a repository.
Before you begin
You must have either
a built binary package or access to a computer on the internet.
Note: Binary (built)
packages are required. Source packages must be built before they can be
uploaded to
Spotfire Statistics Services.
Spotfire Statistics Services
accepts
.zip archives (Microsoft Windows servers only)
or
tar.gz archives (Linux servers only).
You must have administrative credentials to log on to the server where
Spotfire Statistics Services
is installed (or you must give the package archive to a server administrator to
upload them).
Procedure
-
From the internet-connected computer, make sure that
TERR
or open-source R (and optionally RStudio) is installed.
Important: The computer you use to download
packages must be running the same operating system as the
Spotfire Statistics Services
server. (That is, Windows or Linux. If Linux, it must be the same version of
Linux.)
-
Start a console or, if available, an RStudio session.
Tip: If
you are running the console from Microsoft Windows, from the
Start menu, right-click the application, and
then select
Run as administrator so you can install the
package into the engine's
site-library directory. Otherwise, you are
prompted to create a personal library. If you select that option, make a note
of the location so you can find the package.
-
Open the directory where the package (and any dependent packages)
downloaded, and using an archiving utility, create a
.zip or a
.tar.gz archive that contains all files and
directories included with the download.
-
Copy the resulting archive to a medium (such as a flash drive) or
a network location that your server can access.
-
If you have access, log on with administrator credentials to the
server where
Spotfire Statistics Services
is installed.
If you do not have administrative credentials, ask your server
administrator to help you.
-
Insert the flash drive into a port on the server, or from the
server, map a network drive to the package archive location.
-
Browse to the installation of
Spotfire Statistics Services
and open the
library directory for the appropriate language
(TERR or R).
This path should look like
SPSERVER_HOME/engines/eng/library
where
SPSERVER_HOME is the
installation and server context, and
eng is the language engine,
such as TERR or R.
Windows example:
C:\Program
Files\TIBCO\statsvcs1231\TERRServer\engines\Terr\library
-
Copy the zipped archive of the package(s) from the medium or
network drive to the
library directory, and then unzip them there.