6.3 Installing the Oracle R Enterprise Packages

Install the Oracle R Enterprise packages on each client computer.

The Oracle R Enterprise packages are automatically included in the installation on the server.

This topic includes these sections:

6.3.1 Installing the Oracle R Enterprise Packages on Windows

  1. Download the Oracle R Enterprise packages from the Oracle R Enterprise Downloads page on the Oracle Technology Network.

  2. Accept the license agreement and select the Oracle R Enterprise packages for your platform. Download the zip file to the installation directory that you created for Oracle Instant Client. For example:

    c:\oreclient_install_dir\ore-client-win-x86_64-1.5.1.zip
    

    NOTE: Choose the same installation directory for all Oracle R Enterprise client components.

  3. Unzip the file. The contents are extracted into the client subdirectory:

    The resulting installation directory, shown in the example at the end of this section, contains Oracle Instant Client and the Oracle R Enterprise packages.

  4. Choose one of the following methods to install the Oracle R Enterprise packages on Windows:

    • Install from the R Console

      1. Start R x64 from the Windows Start menu.

      2. Execute this R command for each zip file in the client directory:

        install.packages("oreclient_install_dir/client/client_package_name.zip', repos=NULL)
        

        Each successful package installation produces this message in the R console:

        package 'package_name' successfully unpacked and MD5 sums checked
        
    • Install from the R GUI

      1. Start R x64 from the Windows Start menu.

      2. Select Packages from the RGui (64-bit) menu bar.

      3. From the Packages menu, select Install package(s) from local zip files.

      4. Change to the client directory.

      5. Select all the files in the directory.

      6. Click Open.

        Each package installation produces this message in the R console:

        package 'package_name' successfully unpacked and MD5 sums checked
        
    • Install from the Windows command prompt

      1. Start R x64 from the Windows Start menu.

      2. Open a Windows command window.

      3. Change directory to the client directory and type these commands:

        R CMD INSTALL OREbase_1.5.1.zip
        R CMD INSTALL OREcommon_1.5.1.zip
        R CMD INSTALL OREstats_1.5.1.zip
        R CMD INSTALL OREgraphcs_1.5.1.zip
        R CMD INSTALL OREeda_1.5.1.zip
        R CMD INSTALL OREembed_1.5.1.zip
        R CMD INSTALL ORExml_1.5.1.zip
        R CMD INSTALL OREdm_1.5.1.zip
        R CMD INSTALL OREdplyr_1.5.1.zip
        R CMD INSTALL OREmodels_1.5.1.zip
        R CMD INSTALL OREpredict_1.5.1.zip
        R CMD INSTALL ORE_1.5.1.zip
        

        Each package installation generates this message:

        package 'package_name' successfully unpacked and MD5 sums checked
        

Example 6-1 Client Installation Directory Containing Client Packages and Instant Client

c:\oreclient_install_dir
     \client
          \ORE_1.5.1.zip
          \OREbase_1.5.1.zip
          \OREcommon_1.5.1.zip
          \OREdm_1.5.1.zip
          \OREdplyr_1.5.1.zip
          \OREeda_1.5.1.zip
          \OREembed_1.5.1.zip
          \OREgraphics_1.5.1.zip
          \OREmodels_1.5.1.zip
          \OREpredict_1.5.1.zip
          \OREstats_1.5.1.zip
          \ORExml_1.5.1.zip
     \instantclient_12_1
instantclient-basic-linux.x64-12.1.0.2.0.zip
instantclient-sdk-linux.x64-12.1.0.2.0.zip
ore-client-win-x86_64-1.5.1.zip

6.3.2 Installing the Oracle R Enterprise Packages on Linux or UNIX

  1. Download the Oracle R Enterprise packages from the Oracle R Enterprise Downloads page on the Oracle Technology Network.
  2. Accept the license agreement and select the Oracle R Enterprise packages for your platform. Download the zip file to the installation directory that you created for Oracle Instant Client. For example:
    /oreclient_install_dir/ore-client-platform-arch-version.zip
    

    NOTE: Choose the same installation directory for all Oracle R Enterprise client components.

  3. Unzip the file:
    % unzip ore-client-platform-arch-version.zip
    

    When you unzip the file, the /client directory is created and these files are extracted.

    /client/ORE_version_R_arch-unknown-platform-gnu.tar.gz
    /client/OREbase_version_R_arch-unknown-platform-gnu.tar.gz
    /client/OREcommon_version_R_arch-unknown-platform-gnu.tar.gz
    /client/OREdm_version_R_arch-unknown-platform-gnu.tar.gz
    /client/OREdplyr_version_R_arch-unknown-platform-gnu.tar.gz
    /client/OREeda_version_R_arch-unknown-platform-gnu.tar.gz
    /client/OREembed_version_R_arch-unknown-platform-gnu.tar.gz
    /client/OREgraphics_version_R_arch-unknown-platform-gnu.tar.gz
    /client/OREmodels_version_R_arch-unknown-platform-gnu.tar.gz
    /client/OREpredict_version_R_arch-unknown-platform-gnu.tar.gz
    /client/OREstats_version_R_arch-unknown-platform-gnu.tar.gz
    /client/ORExml_version_R_arch-unknown-platform-gnu.tar.gz
    
  4. Change to /oreclient_install_dir/client.
  5. Execute the following commands:
    R CMD INSTALL ORE_version_R_arch-unknown-platform-gnu.tar.gz
    R CMD INSTALL OREbase_version_R_arch-unknown-platform-gnu.tar.gz
    R CMD INSTALL OREcommon_version_R_arch-unknown-platform-gnu.tar.gz
    R CMD INSTALL OREdm_version_R_arch-unknown-platform-gnu.tar.gz
    R CMD INSTALL OREdplyr_version_R_arch-unknown-platform-gnu.tar.gz
    R CMD INSTALL OREeda_version_R_arch-unknown-platform-gnu.tar.gz
    R CMD INSTALL OREembed_version_R_arch-unknown-platform-gnu.tar.gz
    R CMD INSTALL OREgraphics_version_R_arch-unknown-platform-gnu.tar.gz
    R CMD INSTALL OREmodels_version_R_arch-unknown-platform-gnu.tar.gz
    R CMD INSTALL OREpredict_version_R_arch-unknown-platform-gnu.tar.gz
    R CMD INSTALL OREstats_version_R_arch-unknown-platform-gnu.tar.gz
    R CMD INSTALL ORExml_version_R_arch-unknown-platform-gnu.tar.gz