10.3 R Interface for Embedded R Execution
Oracle Machine Learning for R provides functions that call R scripts that run in one or more R engines that are embedded in the Oracle Database.
Other functions create and store an R function as a script in the OML4R script repository, grant or revoke read access to a script, list the available scripts, load a script function into the R environment, or drop a script from the repository. This section describes these functions in the following topics:
- Arguments for Functions that Run Scripts
The Oracle Machine Learning for R Embedded R Execution functionsore.doEval
,ore.tableApply
,ore.groupApply
,ore.rowApply
, andore.indexApply
have arguments that are common to some or all of the functions. - Manage Scripts in R
Embedded R Execution functions can call R functions that are stored as scripts in the OML4R script repository. You can use the R functions described in this topic to create and manage scripts. - Use the ore.doEval Function
Theore.doEval
function runs the specified input function using data that is generated by the input function. - Use the ore.tableApply Function
Theore.tableApply
function calls an R script with anore.frame
as the input data. - Use the ore.groupApply Function
Theore.groupApply
function calls an R script with anore.frame
as the input data. - Use the ore.rowApply Function
Theore.rowApply
function calls an R script with anore.frame
as the input data. - Use the ore.indexApply Function
Theore.indexApply
function executes the specified user-defined input function using data that is generated by the input function.
Parent topic: Embedded R Execution