6.3.1 Install the OML4R Packages on Windows

Instructions for installing the OML4R packages on Windows.

  1. Download the OML4R packages from the Oracle Machine Learning for R Downloads website.

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

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

    NOTE: Choose the same installation directory for all OML4R 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 OML4R packages.

  4. Choose one of the following methods to install the OML4R 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("oml4rclient_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:\oml4rclient_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