A.3.4 Install the Oracle Machine Learning for R Supporting Packages

Example of installing the OML4R supporting packages.

Follow these steps to download and install the OML4R supporting packages:

To download the OML4R supporting packages:

  1. Go to the Oracle Machine Learning for R Downloads website.
  2. Accept the License Agreement and select the Supporting packages for Windows. Save the file in the installation directory that you created in Install Oracle Instant Client.

    c:\myoml4rclient\ore-supporting-win-x86_64-1.5.1.zip
    
  3. Unzip the file.

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

    arules_1.1-9.zip
    Cairo_1.5-8.zip
    DBI_0.5.zip
    png_0.1-7.zip
    randomForest_4.6-10.zip
    ROracle_1.3-1.zip
    statmod_1.4.21.zip
    

To install the supporting 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.

    The R Console window is displayed.

  2. Install the packages as follows:

    install.packages("c:/myoml4rclient/supporting/ROracle_1.3-1.zip", repos=NULL)
    install.packages("c:/myoml4rclient/supporting/DBI_0.5.zip", repos=NULL)
    install.packages("c:/myoml4rclient/supporting/png_0.1-7.zip", repos=NULL)
    install.packages("c:/myoml4rclient/supporting/Cairo_1.5-8.zip", repos=NULL)
    install.packages("c:/myoml4rclient/supporting/arules_1.1-9.zip", repos=NULL)
    install.packages("c:/myoml4rclient/supporting/randomForest_4.6-10.zip", repos=NULL)
    install.packages("c:/myoml4rclient/supporting/statmod_1.4.21.zip", repos=NULL) 
    

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

    package 'package_name' successfully unpacked and MD5 sums checked