7 Administrative Tasks for Oracle Machine Learning for R
This chapter describes administrative tasks for maintaining and optimizing OML4R.
This chapter contains these topics:
- Install Oracle R Distribution on Linux in a Non-Default R_HOME
 The Oracle R Distribution RPMs can be installed to a directory other than the default LinuxR_HOME,/usr/lib64/R.
- Upgrade Oracle Machine Learning for R
 You can upgrade OML4R to the current release from any previous release by reinstalling the product.
- Migrate Oracle Machine Learning for R Data
 OML4R Server includes migration scripts that you can run to migrate the RQSYS schema and OML4R user data from a source database to a target database
- Migrate Oracle Machine Learning for R After a Database Upgrade
 After upgrading your Oracle Database, you must migrate your OML4R Server components to the newORACLE_HOME.
- Uninstall Oracle Machine Learning for R
 Instructions for uninstalling OML4R
- Install Additional R Packages on Linux or UNIX
 On Linux and UNIX platforms, the OML4R Server installation provides theOREscript, which you can run from the operating system prompt to install additional R packages.
- Create a Database User for Oracle Machine Learning for R
 In Database 18c or later, therquser.sqlscript ships with Oracle Database 18c and later and resides in the$ORACLE_HOME/R/serverdirectory. The script installs creates a new OML4R user, and the scriptrqgrant.sqlin the same directory applies the required grants to the new user. With Oracle Database 12c and earlier, theserverscript installation process automatically creates or configures a user for OML4R if one does not already exist.
- Create and Modify Environment Variables on Windows
 If thePATH,ORACLE_SID, andORACLE_HOMEenvironment variables do not exist, you must create them.
- Create an Oracle Wallet for an Oracle Machine Learning for R Connection
 An Oracle wallet is a password-protected container for storing security credentials in Oracle Database.
- Control Memory Used by Embedded R
 How to control the memory used by embedded R execution.