4.4 Installing Oracle R Enterprise Server

Follow these steps to install Oracle R Enterprise Server.

Note:

To install Oracle R Enterprise Server without needing to respond to visual prompts, use a batch mode installation such as that described in "A Default Batch Installation" and "User Configuration in Batch Mode".

To install Oracle R Enterprise Server:

  1. Ensure that your system satisfies the requirements specified in Oracle R Enterprise Server Requirements.

  2. Create an installation directory for the Oracle R Enterprise server components. The directory can have any name. For example:

    /oreserver_install_dir
    
  3. Download the Oracle R Enterprise Server installation files and supporting packages from the Oracle R Enterprise Downloads page on the Oracle Technology Network.

    1. Accept the license agreement and download the Oracle R Enterprise Server files for your platform to your installation directory.

    2. Accept the license agreement and download the Oracle R Enterprise Supporting packages for your platform to your installation directory.

    The installation directory now contains two zip files.

    ore-server-platform-arch-version.zip
    ore-supporting-platform-arch-version.zip
    
  4. Unzip the files.

    unzip ore-server-platform-arch-version.zip
    unzip ore-supporting-platform-arch-version.zip
    

    The installation directory looks like this after you unzip both files:

    For Linux or UNIX:

    /oreserver_install_dir
         ore-server-platform-arch-version.zip
         ore-supporting-platform-arch-version.zip
         server.sh
         /server
         /supporting
    

    For Windows:

    \oreserver_install_dir
         ore-server-platform-arch-version.zip
         ore-supporting-platform-arch-version.zip
         server.bat
         \server
         \supporting
    
  5. For Linux or UNIX, run server.sh. For Windows, run server.bat. The script performs a default, first-time installation of Oracle R Enterprise Server, as described in A Default Interactive Installation.

    For Linux or UNIX:

    ./server.sh
    

    For Windows:

    server.bat
    

Note:

Beginning in R-3.3.0, on Oracle Linux 6 system, it is necessary to set LD_LIBRARY_PATH in $ORACLE_HOME/hs/admin/extproc.ora to the location of the R-core-extra RPM so that these libraries are found by the Oracle process running extproc. On Linux systems, the default location of the R-core-extra RPM is /usr/lib64/R/port/Linux-X64/lib. In extproc.ora, enter:

SET LD_LIBRARY_PATH=/usr/lib64/R/port/Linux-X64/lib

For changes in extproc.ora to take effect, you must stop and restart the database.

This procedure is not necessary on a Linux 7 system, as the required versions of the libraries provided by the R-core-extra RPM are available natively..

See Also:

Example A-1 for an example with output

About the R-core-extra RPM

R has always depended on several third party libraries, specifically, zlib, bzip2, xz, pcre, and curl. Prior to R-3.3.0, R depended on much older versions of these libraries, but, if they were not found on the system, bundled copies were included that were built on the fly.

R-3.3.0 depends on much newer versions of these libraries and no longer contains the bundled copies. This means that R 3.3.0 won't build against Linux 6 as is, because the native versions of these libraries are older than those that R-3.3.0 requires.

The R-core-extra RPM contains the required versions of these libraries and is provided as a convenience for users of Oracle Linux 6. Adding the location of the libraries in R-core-extra to LD_LIBRARY_PATH removes the need to built these libraries separately. Oracle Linux 7 introduces the required versions of these libraries, but the R-core-extra RPM is provided as a convenience if needed.