About R and Oracle Machine Learning for R

OML4R requires an installation of R on the server computer and on each client computer that interacts with the server.

R is third-party, open source software. Open source R is governed by GNU General Public License (GPL) and not by Oracle licensing.


The version of R must be the same on the server and on each client computer. Also, the version of OML4R must be the same on the server and on each client computer.

See Also:

About ROracle

ROracle is an open source R package that enables interaction between R and an Oracle database.

ROracle is maintained and supported by Oracle.

ROracle is one of the open source supporting packages that is used by Oracle Machine Learning for R. The supporting packages are introduced in Client and Server Components of Oracle Machine Learning for R and described in Table 6-2.

Oracle R Distribution and OML4R

Oracle recommends that you use Oracle R Distribution, Oracle's free distribution of R, with OML4R.

Oracle R Distribution offers significant advantages for OML4R.

Why Oracle R Distribution?

  • Oracle R Distribution simplifies the installation of R for OML4R.

  • Oracle R Distribution is supported by Oracle for customers of Oracle Machine Learning, Oracle Linux, and Oracle Big Data Appliance.

  • On Windows and Linux, Oracle R Distribution simplifies integration with the Intel Math Kernel Library (MKL). MKL greatly improves the performance of many mathematical computations in R, including highly vectorized and threaded Linear Algebra, Fast Fourier Transforms (FFT), Vector Math, and Statistics functions. (See Configure Oracle R Distribution to Use MKL on the Client.)

  • On Oracle Solaris, Oracle R Distribution automatically uses Sun Performance Library. Like MKL for Linux and Windows, Sun Performance Library offers improved performance of many mathematical computations. Sun Performance Library is part of Oracle Solaris Studio.

Open Source R and OML4R

Although Oracle recommends that you use Oracle R Distribution whenever possible, you can use open source R with OML4R.

If you choose to use open source R, then you must build it from source. Use the following configuration parameters:

./configure  --with-lapack --with-ICU=no --enable-R-shlib

On UNIX systems, additional operating system packages may be required for R's configuration and build process to succeed.

See Also:

The R Installation and Administration manual at R Manuals for information about building R from source