Oracle Machine Learning for R Server Requirements

Before installing OML4R Server, verify your system environment, and ensure that your user ID has the proper permissions.

You should also have installed the OML4R Server prerequisites: Oracle Database and Oracle R Distribution or open source R.

System Requirements

Lists the system requirements for OML4R Server.

Environment Variables

Lists the environment variables required by OML4R Server.

Table 4-1 Environment Variable Requirements for Oracle Machine Learning for R Server

Platform Environment Variable Requirement

all

$ORACLE_SID must specify the service identifier (SID) of the database that will support OML4R.

$ORACLE_HOME must specify the home directory of the database identified by ORACLE_SID.

On Windows, you can find the value of Oracle home and the Oracle instance identifier in the Windows Registry. If more than one Oracle home or Oracle instance exist on this computer, then you can specify the required values in environment variables. See Create and Modify Environment Variables on Windows.

Linux

$LD_LIBRARY_PATH must include $ORACLE_HOME/lib.

$PATH must include $ORACLE_HOME/bin.

Oracle Solaris

$LD_LIBRARY_PATH must include $ORACLE_HOME/lib.

$PATH must include $ORACLE_HOME/bin.

IBM AIX

$LIBPATH must include $ORACLE_HOME/lib.

$PATH must include $ORACLE_HOME/bin.

Microsoft Windows

%PATH% must include %R_HOME%\bin\x64. The default value of %R_HOME% is C:\Program Files\R\R-3.2.0.

You can find the value of the R home directory in the Windows Registry. If more than one R home exist on this computer, then you can specify the required value in an environment variable. See Create and Modify Environment Variables on Windows.

User Requirements

Lists the requirements for the operating system user who installs OML4R Server.

Table 4-2 User Requirements for OML4R Server Installer

Platform User Requirement

Linux and UNIX

  • Member of the dba group

  • Has write access to $ORACLE_HOME/lib

Microsoft Windows

  • Administrator access

  • Member of the ora_dba group

  • Has write access to %ORACLE_HOME%\bin

See the following topics for additional information:

About Operating System Authentication

Describes the operating system authentication used by OML4R Server.

The OML4R Server installation script uses system authentication to connect to the database identified by ORACLE_HOME and ORACLE_SID. System authentication is based on the operating system credentials of the user instead of the database credentials.

For example, on a Linux system, the OML4R installation script uses this statement to start SQL*Plus without a password:

$ORACLE_HOME/bin/sqlplus / as sysdba

Membership in a special operating system group enables system authentication for Oracle Database. The operating system group is created during installation of the database, and the identity of the installer is automatically assigned to the group. The generic name for the group is OSDBA. On Linux and UNIX, the name for OSDBA is dba. On Windows, the name for OSDBA is ora_dba.

The user that installs OML4R Server must belong to OSDBA.

See Also:

Verify the Group Membership of Your User ID

Describes how to determine the group memberships required by OML4R Server.

As described in "About Operating System Authentication", the Linux or UNIX user ID that runs the OML4R Server installation script must belong to the dba group. Membership in the dba group is also required for running other OML4R scripts on the server. On Windows, the dba group is called ora_dba.

To determine the group membership of your Linux or UNIX user ID, type this command:

% groups
dba  othergroup

To determine the group membership of your Windows user ID:

  1. Open Windows Control Panel.
  2. Select Users Accounts.
  3. Select Manage User Accounts.
  4. On the Users tab of the User Accounts dialog, the name, domain, and group of each user account are listed. Verify that your user ID belongs to the group ora_dba.