A.3.3 Install the Oracle Machine Learning for R Packages

Example of installing the Oracle Machine Learning for R packages.

Follow these steps to download and install the OML4R packages:

To download the OML4R packages:

  1. Go to the Oracle Machine Learning for R Downloads website.

  2. Accept the License Agreement.

  3. Select the Client packages for Windows. Save the file in the installation directory that you created in Install Oracle Instant Client.

    c:\myoml4rclient\ore-client-win-x86_64-1.5.1.zip
    
  4. Unzip the file.

    When you unzip the file, the client subdirectory is created. The contents of the installation directory are shown as follows:

    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
    

To install the OML4R packages from the R Console:

  1. Start R from the Windows Start menu. If you have installed both 32 and 64-bit R, be sure to choose 64-bit R.

  2. In the R Console window, install the packages as follows:

    install.packages("c:/myoml4rclient/client/ORE_1.5.1.zip", repos=NULL)
    install.packages("c:/myoml4rclient/client/OREbase_1.5.1.zip", repos=NULL)
    install.packages("c:/myoml4rclient/client/OREcommon_1.5.1.zip", repos=NULL)
    install.packages("c:/myoml4rclient/client/OREdm_1.5.1.zip", repos=NULL)
    install.packages("c:/myoml4rclient/client/OREdplyr_1.5.1.zip", repos=NULL)
    install.packages("c:/myoml4rclient/client/OREeda_1.5.1.zip", repos=NULL)
    install.packages("c:/myoml4rclient/client/OREembed_1.5.1.zip", repos=NULL)
    install.packages("c:/myoml4rclient/client/OREgraphics_1.5.1.zip", repos=NULL)
    install.packages("c:/myoml4rclient/client/OREmodels_1.5.1.zip", repos=NULL)
    install.packages("c:/myoml4rclient/client/OREpredict_1.5.1.zip", repos=NULL)
    install.packages("c:/myoml4rclient/client/OREstats_1.5.1.zip", repos=NULL)
    install.packages("c:/myoml4rclient/client/ORExml_1.5.1.zip", repos=NULL)
    

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

    package 'package_name' successfully unpacked and MD5 sums checked