4.3 Install Oracle Machine Learning for R Server for Oracle Database 19c and 21c

Instructions for installing OML4R Server for Oracle Database 19c and 21c.

The server.sh script enables the OML4R Server components that are part of the database, configures some aspects of the server, and installs some OML4R database objects.

Download the OML4R 2.0 server bundle from the official Oracle website (https://www.oracle.com/downloads/). The OML4R binaries included with DB 19c/21c are for version 1.5.1 and must be replaced.

Run the server.sh script located within the downloaded OML4R 2.0 server bundle. This script automates the following tasks:
  • Removal of existing OML4R 1.5.1 components (including fresh installations).
  • Installation of OML4R 2.0 components.
  • Installation of supporting packages if they reside in the same directory as the server bundle.

Before installing OML4R Server, install R, as described in Install R for Oracle Machine Learning for R on On-Premises Oracle Database.