4.2.2 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.6.1.

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.