6.4 Installing the Oracle R Enterprise Supporting Packages

Install the Oracle R Enterprise supporting packages on each client computer and on the server that hosts Oracle R Enterprise Server.

6.4.1 Installing the Supporting Packages on Windows

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

  2. Accept the license agreement and select the Supporting 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-supporting-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 supporting subdirectory:

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

  4. Choose one of the following methods to install the supporting 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/support/support_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 support 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 ROracle_1.3-1.zip
        R CMD INSTALL DBI_0.5.zip
        R CMD INSTALL png_0.1-7.zip
        R CMD INSTALL Cairo_1.5-8.zip
        R CMD INSTALL arules_1.1-9.zip
        R CMD INSTALL statmod_1.4.21.zip
        R CMD INSTALL randomForest_4.6-10.zip
        

        Each package installation generates this message:

        package 'package_name' successfully unpacked and MD5 sums checked
        

Example 6-2 Client Installation Directory Containing All Client Components

c:\oreclient_install_dir
     \client
     \instantclient_version
     \supporting     
         \arules_version.zip
         \Cairo_version.zip
         \DBI_version.zip
         \png_version.zip
         \ROracle_version.zip
         \statmod_version.zip
         \randomForest_version.zip
instantclient-basic-linux.x64-version.zip
instantclient-sdk-linux.x64-version.zip
ore-client-win-x86_64-version.zip
ore-supporting-win-x86_64-version.zip

6.4.2 Installing the Supporting 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 Supporting 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-supporting-platform-arch-1.5.1.zip
    

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

  3. Unzip the file:
    % unzip ore-supporting-platform-arch-1.5.1.zip
    

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

    /supporting/arules_1.1-9_R_arch-unknown-platform.tar.gz
    /supporting/Cairo_1.5-8_R_arch-unknown-platform.tar.gz
    /supporting/DBI_0.5_R_arch-unknown-platform.tar.gz
    /supporting/png_0.1-7_R_arch-unknown-platform.tar.gz
    /supporting/ROracle_1.3-1_R_arch-unknown-platform.tar.gz
    /supporting/statmod_1.4.21_R_arch-unknown-platform.tar.gz
    /supporting/randomForest_4.6-10_R_arch-unknown-platform.tar.gz
    
  4. Change to /oreclient_install_dir/supporting
  5. Execute the following commands:
    R CMD INSTALL ROracle_1.3-1_R_arch-unknown-platform.tar.gz
    R CMD INSTALL DBI_0.5_R_arch-unknown-platform.tar.gz
    R CMD INSTALL png_0.1-7_R_arch-unknown-platform.tar.gz
    R CMD INSTALL Cairo_1.5-8_R_arch-unknown-platform.tar.gz
    R CMD INSTALL arules_1.1-9_R_arch-unknown-platform.tar.gz
    R CMD INSTALL statmod_1.4.21_R_arch-unknown-platform.tar.gz
    R CMD INSTALL randomForest_4.6-10_R_arch-unknown-platform.tar.gz