- Installation and Administration Guide
- Install Oracle Machine Learning for R Server
- Install Oracle Machine Learning for R Server for Oracle Database 19c and 21c
- Prepare to Use OML4R Server with R-4.0.5
4.3.2 Prepare to Use OML4R Server with R-4.0.5
Instructions for downloading and installing the OML4R Server packages built under R-4.0.5.
- Go to the Oracle Machine Learning for R Downloads page, accept the license agreement, and download the OML4R Server and Supporting packages built under R-4.0.5.
Note:
Use the same installation directory for all OML4R Server and Supporting components. - Go to the installation directory and unzip the downloaded file.
$ unzip oml4r-server-linux-x86-64-2.0.zip $ unzip oml4r-supporting-linux-x86-64-2.0.zip
When you unzip the file, the
server.sh
directory is extracted along with the/server
and/supporting
directories.The content for server file appears as follows:
$ ls server server.sh supporting $ ls server librqe.so rqd0807000.sql migration rqd0908000.sql ORE_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqdrp.sql OREbase_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqecrt.sql OREcommon_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqembed.sql OREdm_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqepdrp09.sql OREdplyr_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqgrant.sql OREds_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqpdrp00.sql OREeda_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqpdrp01.sql OREembed_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqpdrp02.sql OREgraphics_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqpdrp03.sql OREmodels_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqpdrp04.sql OREpredict_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqpdrp05.sql OREserver_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqpdrp06.sql ore.so rqpdrp07.sql OREstats_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqpdrp08.sql ORExml_2.0_R_x86_64-unknown-linux-gnu.tar.gz rqpdrp09.sql rpqscript.sql rqproc.sql rqadmin.sql rqsys.sql rqbesl.sql rqu0001000.sql rqcfg.sql rqu0102000.sql rqcrt.sql rqu0203000.sql rqd0100000.sql rqu0304000.sql rqd0201000.sql rqu0405000.sql rqd0302000.sql rqu0506000.sql rqd0403000.sql rqu0607000.sql rqd0504000.sql rqu0708000.sql rqd0605000.sql rqu0809000.sql rqd0706000.sql
The content for supporting directories file appears as follows:
$ ls supporting arules_1.7-3_R_x86_64-unknown-linux-gnu.tar.gz assertthat_0.2.1_R_x86_64-unknown-linux-gnu.tar.gz Cairo_1.5-15_R_x86_64-unknown-linux-gnu.tar.gz cli_3.3.0_R_x86_64-unknown-linux-gnu.tar.gz crayon_1.5.1_R_x86_64-unknown-linux-gnu.tar.gz DBI_1.1.2_R_x86_64-unknown-linux-gnu.tar.gz dplyr_1.0.9_R_x86_64-unknown-linux-gnu.tar.gz ellipsis_0.3.2_R_x86_64-unknown-linux-gnu.tar.gz fansi_1.0.3_R_x86_64-unknown-linux-gnu.tar.gz generics_0.1.2_R_x86_64-unknown-linux-gnu.tar.gz glue_1.6.2_R_x86_64-unknown-linux-gnu.tar.gz lazyeval_0.2.2_R_x86_64-unknown-linux-gnu.tar.gz lifecycle_1.0.1_R_x86_64-unknown-linux-gnu.tar.gz magrittr_2.0.3_R_x86_64-unknown-linux-gnu.tar.gz pillar_1.7.0_R_x86_64-unknown-linux-gnu.tar.gz pkgconfig_2.0.3_R_x86_64-unknown-linux-gnu.tar.gz png_0.1-8_R_x86_64-unknown-linux-gnu.tar.gz purrr_0.3.4_R_x86_64-unknown-linux-gnu.tar.gz R6_2.5.1_R_x86_64-unknown-linux-gnu.tar.gz rlang_1.0.2_R_x86_64-unknown-linux-gnu.tar.gz ROracle_1.4-1_R_x86_64-unknown-linux-gnu.tar.gz statmod_1.5.0_R_x86_64-unknown-linux-gnu.tar.gz tibble_3.1.7_R_x86_64-unknown-linux-gnu.tar.gz tidyselect_1.1.2_R_x86_64-unknown-linux-gnu.tar.gz utf8_1.2.2_R_x86_64-unknown-linux-gnu.tar.gz vctrs_0.4.1_R_x86_64-unknown-linux-gnu.tar.gz
- Run the following commands to install OML4R server and supporting packages:
$ ./server.sh Oracle R Enterprise 2.0 Server. Copyright (c) 2012, 2022 Oracle and/or its affiliates. All rights reserved. Checking platform .................. Pass Checking R ......................... Pass Checking R libraries ............... Pass Checking ORACLE_HOME ............... Pass Checking ORACLE_SID ................ Pass Checking sqlplus ................... Pass Checking ORACLE instance ........... Pass Checking CDB/PDB ................... Fail ERROR: cannot install ORE in a root container PDB to use for ORE installation [list]: ORCLPDB PDB to use for ORE installation [list]: ORCLPDB Checking CDB/PDB ................... Pass Checking ORE ....................... Pass Choosing RQSYS tablespaces PERMANENT tablespace to use for RQSYS [list]: SYSAUX SYSTEM USERS PERMANENT tablespace to use for RQSYS [list]: SYSAUX TEMPORARY tablespace to use for RQSYS [list]: TEMP TEMPORARY tablespace to use for RQSYS [list]: TEMP Current configuration R Version ........................ Oracle Distribution of R version 4.0.5 (--) R_HOME ........................... /usr/lib64/R R_LIBS_USER ...................... <ORACLE HOME PATH>/R/library ORACLE_HOME ...................... <ORACLE HOME PATH> ORACLE_SID ....................... orcl PDB .............................. ORCLPDB Existing R Version ............... Oracle Distribution of R version 4.0.5 (--) Existing R_HOME .................. /usr/lib64/R Existing ORE data ................ None Existing ORE code ................ None Existing ORE libraries ........... 1.5.1 RQSYS PERMANENT tablespace ....... SYSAUX RQSYS TEMPORARY tablespace ....... TEMP Operation ........................ Install/Upgrade Proceed? [yes] yes Removing R libraries ............... Pass Removing ORE libraries ............. Pass Installing R libraries ............. Pass Installing ORE libraries ........... Pass Installing RQSYS data .............. Pass Configuring ORE .................... Pass Installing RQSYS code .............. Pass Removing ORE packages .............. Pass Installing ORE packages ............ Pass Removing ORE script ................ Pass Creating ORE script ................ Pass Installing supporting packages ..... Pass Done